OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 2002-2014, International Business Machines | 3 * Copyright (C) 2002-2015, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * file name: uconfig.h | 6 * file name: uconfig.h |
7 * encoding: US-ASCII | 7 * encoding: US-ASCII |
8 * tab size: 8 (not used) | 8 * tab size: 8 (not used) |
9 * indentation:4 | 9 * indentation:4 |
10 * | 10 * |
11 * created on: 2002sep19 | 11 * created on: 2002sep19 |
12 * created by: Markus W. Scherer | 12 * created by: Markus W. Scherer |
13 */ | 13 */ |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 /** | 128 /** |
129 * \def U_ENABLE_TRACING | 129 * \def U_ENABLE_TRACING |
130 * Determines whether to enable tracing. | 130 * Determines whether to enable tracing. |
131 * @internal | 131 * @internal |
132 */ | 132 */ |
133 #ifndef U_ENABLE_TRACING | 133 #ifndef U_ENABLE_TRACING |
134 #define U_ENABLE_TRACING 0 | 134 #define U_ENABLE_TRACING 0 |
135 #endif | 135 #endif |
136 | 136 |
137 /** | 137 /** |
| 138 * \def UCONFIG_ENABLE_PLUGINS |
| 139 * Determines whether to enable ICU plugins. |
| 140 * @internal |
| 141 */ |
| 142 #ifndef UCONFIG_ENABLE_PLUGINS |
| 143 #define UCONFIG_ENABLE_PLUGINS 0 |
| 144 #endif |
| 145 |
| 146 /** |
138 * \def U_ENABLE_DYLOAD | 147 * \def U_ENABLE_DYLOAD |
139 * Whether to enable Dynamic loading in ICU. | 148 * Whether to enable Dynamic loading in ICU. |
140 * @internal | 149 * @internal |
141 */ | 150 */ |
142 #ifndef U_ENABLE_DYLOAD | 151 #ifndef U_ENABLE_DYLOAD |
143 #define U_ENABLE_DYLOAD 1 | 152 #define U_ENABLE_DYLOAD 1 |
144 #endif | 153 #endif |
145 | 154 |
146 /** | 155 /** |
147 * \def U_CHECK_DYLOAD | 156 * \def U_CHECK_DYLOAD |
148 * Whether to test Dynamic loading as an OS capability. | 157 * Whether to test Dynamic loading as an OS capability. |
149 * @internal | 158 * @internal |
150 */ | 159 */ |
151 #ifndef U_CHECK_DYLOAD | 160 #ifndef U_CHECK_DYLOAD |
152 #define U_CHECK_DYLOAD 1 | 161 #define U_CHECK_DYLOAD 1 |
153 #endif | 162 #endif |
154 | 163 |
155 | |
156 /** | 164 /** |
157 * \def U_DEFAULT_SHOW_DRAFT | 165 * \def U_DEFAULT_SHOW_DRAFT |
158 * Do we allow ICU users to use the draft APIs by default? | 166 * Do we allow ICU users to use the draft APIs by default? |
159 * @internal | 167 * @internal |
160 */ | 168 */ |
161 #ifndef U_DEFAULT_SHOW_DRAFT | 169 #ifndef U_DEFAULT_SHOW_DRAFT |
162 #define U_DEFAULT_SHOW_DRAFT 1 | 170 #define U_DEFAULT_SHOW_DRAFT 1 |
163 #endif | 171 #endif |
164 | 172 |
165 /*===========================================================================*/ | 173 /*===========================================================================*/ |
(...skipping 27 matching lines...) Expand all Loading... |
193 | 201 |
194 /* common/i18n library switches --------------------------------------------- */ | 202 /* common/i18n library switches --------------------------------------------- */ |
195 | 203 |
196 /** | 204 /** |
197 * \def UCONFIG_ONLY_COLLATION | 205 * \def UCONFIG_ONLY_COLLATION |
198 * This switch turns off modules that are not needed for collation. | 206 * This switch turns off modules that are not needed for collation. |
199 * | 207 * |
200 * It does not turn off legacy conversion because that is necessary | 208 * It does not turn off legacy conversion because that is necessary |
201 * for ICU to work on EBCDIC platforms (for the default converter). | 209 * for ICU to work on EBCDIC platforms (for the default converter). |
202 * If you want "only collation" and do not build for EBCDIC, | 210 * If you want "only collation" and do not build for EBCDIC, |
203 * then you can define UCONFIG_NO_LEGACY_CONVERSION 1 as well. | 211 * then you can define UCONFIG_NO_CONVERSION or UCONFIG_NO_LEGACY_CONVERSION to
1 as well. |
204 * | 212 * |
205 * @stable ICU 2.4 | 213 * @stable ICU 2.4 |
206 */ | 214 */ |
207 #ifndef UCONFIG_ONLY_COLLATION | 215 #ifndef UCONFIG_ONLY_COLLATION |
208 # define UCONFIG_ONLY_COLLATION 0 | 216 # define UCONFIG_ONLY_COLLATION 0 |
209 #endif | 217 #endif |
210 | 218 |
211 #if UCONFIG_ONLY_COLLATION | 219 #if UCONFIG_ONLY_COLLATION |
212 /* common library */ | 220 /* common library */ |
213 # define UCONFIG_NO_BREAK_ITERATION 1 | 221 # define UCONFIG_NO_BREAK_ITERATION 1 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 */ | 271 */ |
264 #ifndef UCONFIG_NO_CONVERSION | 272 #ifndef UCONFIG_NO_CONVERSION |
265 # define UCONFIG_NO_CONVERSION 0 | 273 # define UCONFIG_NO_CONVERSION 0 |
266 #endif | 274 #endif |
267 | 275 |
268 #if UCONFIG_NO_CONVERSION | 276 #if UCONFIG_NO_CONVERSION |
269 # define UCONFIG_NO_LEGACY_CONVERSION 1 | 277 # define UCONFIG_NO_LEGACY_CONVERSION 1 |
270 #endif | 278 #endif |
271 | 279 |
272 /** | 280 /** |
273 * This switch turns off all the converters NOT listed in | 281 * \def UCONFIG_ONLY_HTML_CONVERSION |
274 * the encoding standard : http://encoding.spec.whatwg.org | 282 * This switch turns off all of the converters NOT listed in |
| 283 * the HTML encoding standard: |
| 284 * http://www.w3.org/TR/encoding/#names-and-labels |
| 285 * |
| 286 * This is not possible on EBCDIC platforms |
| 287 * because they need ibm-37 or ibm-1047 default converters. |
| 288 * |
| 289 * @draft ICU 55 |
275 */ | 290 */ |
276 #ifndef UCONFIG_NO_NON_HTML5_CONVERSION | 291 #ifndef UCONFIG_ONLY_HTML_CONVERSION |
277 #define UCONFIG_NO_NON_HTML5_CONVERSION 0 | 292 # define UCONFIG_ONLY_HTML_CONVERSION 0 |
278 #endif | 293 #endif |
279 | 294 |
280 /** | 295 /** |
281 * \def UCONFIG_NO_LEGACY_CONVERSION | 296 * \def UCONFIG_NO_LEGACY_CONVERSION |
282 * This switch turns off all converters except for | 297 * This switch turns off all converters except for |
283 * - Unicode charsets (UTF-7/8/16/32, CESU-8, SCSU, BOCU-1) | 298 * - Unicode charsets (UTF-7/8/16/32, CESU-8, SCSU, BOCU-1) |
284 * - US-ASCII | 299 * - US-ASCII |
285 * - ISO-8859-1 | 300 * - ISO-8859-1 |
286 * | 301 * |
287 * Turning off legacy conversion is not possible on EBCDIC platforms | 302 * Turning off legacy conversion is not possible on EBCDIC platforms |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 #endif | 438 #endif |
424 | 439 |
425 /** | 440 /** |
426 * \def UCONFIG_NO_FILTERED_BREAK_ITERATION | 441 * \def UCONFIG_NO_FILTERED_BREAK_ITERATION |
427 * This switch turns off filtered break iteration code. | 442 * This switch turns off filtered break iteration code. |
428 * | 443 * |
429 * @internal | 444 * @internal |
430 */ | 445 */ |
431 #ifndef UCONFIG_NO_FILTERED_BREAK_ITERATION | 446 #ifndef UCONFIG_NO_FILTERED_BREAK_ITERATION |
432 # define UCONFIG_NO_FILTERED_BREAK_ITERATION 0 | 447 # define UCONFIG_NO_FILTERED_BREAK_ITERATION 0 |
433 | |
434 | |
435 | |
436 #endif | 448 #endif |
437 | 449 |
438 #endif | 450 #endif |
OLD | NEW |