diff options
author | Tomas Heinrich <heinrich.tomas@gmail.com> | 2010-03-26 13:13:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 13:13:24 +0100 |
commit | aa167556cd2954bb9a9fb0a005178462087a4600 (patch) | |
tree | 241a779a20d302397bd5e59eefceb49ce78834e4 /Config.in | |
parent | 385b4562e39e373761fd62b0990dce02ff96661f (diff) | |
download | busybox-w32-aa167556cd2954bb9a9fb0a005178462087a4600.tar.gz busybox-w32-aa167556cd2954bb9a9fb0a005178462087a4600.tar.bz2 busybox-w32-aa167556cd2954bb9a9fb0a005178462087a4600.zip |
unicode: optional table for better handling of neutral bidi chars
Off:
function old new delta
unicode_bidi_isrtl - 55 +55
isrtl_str 51 65 +14
unicode_isrtl 55 - -55
read_line_input 5003 4937 -66
------------------------------------------------------------------------------
(add/remove: 1/4 grow/shrink: 1/1 up/down: 69/-121) Total: -52 bytes
On:
function old new delta
static.neutral_b - 320 +320
static.neutral_p - 142 +142
unicode_bidi_isrtl - 55 +55
unicode_bidi_is_neutral_wchar - 55 +55
isrtl_str 51 59 +8
unicode_isrtl 55 - -55
read_line_input 5003 4937 -66
------------------------------------------------------------------------------
(add/remove: 4/4 grow/shrink: 1/1 up/down: 580/-121) Total: 459 bytes
Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -198,12 +198,23 @@ config UNICODE_WIDE_WCHARS | |||
198 | 198 | ||
199 | config UNICODE_BIDI_SUPPORT | 199 | config UNICODE_BIDI_SUPPORT |
200 | bool "Bidirectional character-aware line input" | 200 | bool "Bidirectional character-aware line input" |
201 | default y | 201 | default n |
202 | depends on FEATURE_ASSUME_UNICODE && !LOCALE_SUPPORT | 202 | depends on FEATURE_ASSUME_UNICODE && !LOCALE_SUPPORT |
203 | help | 203 | help |
204 | With this option on, right-to-left Unicode characters | 204 | With this option on, right-to-left Unicode characters |
205 | are treated differently on input (e.g. cursor movement). | 205 | are treated differently on input (e.g. cursor movement). |
206 | 206 | ||
207 | config UNICODE_NEUTRAL_TABLE | ||
208 | bool "In bidi input, support non-ASCII neutral chars too" | ||
209 | default n | ||
210 | depends on UNICODE_BIDI_SUPPORT | ||
211 | help | ||
212 | In most cases it's enough to treat only ASCII non-letters | ||
213 | (i.e. punctuation, numbers and space) as characters | ||
214 | with neutral directionality. | ||
215 | With this option on, more extensive (and bigger) table | ||
216 | of neutral chars will be used. | ||
217 | |||
207 | config LONG_OPTS | 218 | config LONG_OPTS |
208 | bool "Support for --long-options" | 219 | bool "Support for --long-options" |
209 | default y | 220 | default y |