Commit Graph

862 Commits

Author SHA1 Message Date
Yves Arrouye
a63e51a9bb ICU-630 rpath control
X-SVN-Rev: 2723
2000-10-17 23:28:41 +00:00
Ram Viswanadha
8cc7ad4f93 ICU-673 Fixed inclusion of GB2312 extensions
X-SVN-Rev: 2722
2000-10-17 22:56:32 +00:00
Yves Arrouye
7e0c5ee2a5 ICU-367 let one override U_IOSTREAM_SOURCE at compile time (better do so both for the ICU build and everything that uses it!
X-SVN-Rev: 2721
2000-10-17 22:50:27 +00:00
Yves Arrouye
c9388940ea ICU-367 fix for I/O streams on Windows.
X-SVN-Rev: 2720
2000-10-17 22:42:40 +00:00
Ram Viswanadha
e5b3fb0aa1 ICU-673 Fixed state bug
X-SVN-Rev: 2715
2000-10-17 18:28:20 +00:00
Ram Viswanadha
4ec1e451f5 ICU-634 commented unnecessary code
X-SVN-Rev: 2708
2000-10-17 08:06:45 +00:00
Ram Viswanadha
af4e9945bb ICU-673 Added HZ converter.
X-SVN-Rev: 2706
2000-10-17 08:03:36 +00:00
Yves Arrouye
614eb112b5 ICU-480 detect nl_langinfo() and then tries to pass it CODESET and
_NL_CTYPE_CODESET_NAME, and set U_NL_LANGINFO_CODESET accordingly. If neither
works, define U_HAVE_NL_LANGINFO_CODESET to 0, for these NetBSD boxes...

X-SVN-Rev: 2690
2000-10-16 17:26:31 +00:00
Steven R. Loomis
1bed854513 ICU-668 fix getVersionNumber
X-SVN-Rev: 2685
2000-10-14 01:53:59 +00:00
Yves Arrouye
ab2b4c9240 ICU-640 define RTLD_GLOBAL to 0 if it wasn't defined by dlfcn.h
X-SVN-Rev: 2682
2000-10-13 22:13:35 +00:00
Steven R. Loomis
f3e8304f2d ICU-599 removed trailing comma for aix
X-SVN-Rev: 2675
2000-10-13 18:50:38 +00:00
Yves Arrouye
7b50082ed3 ICU-208 experimental support for ICU's rule of release X.Y2 being binary compatible w/ X.Y
X-SVN-Rev: 2674
2000-10-13 18:29:14 +00:00
Yves Arrouye
a807e730b0 ICU-3 ignore *.ao files
X-SVN-Rev: 2672
2000-10-13 17:46:13 +00:00
Steven R. Loomis
3755154237 ICU-658 Version is: 1.6.0.1. 1.6.1 does not exist
X-SVN-Rev: 2668
2000-10-13 02:10:43 +00:00
George Rhoten
377ebd5d87 ICU-659 simplified the macro logic
X-SVN-Rev: 2667
2000-10-13 02:00:26 +00:00
Yves Arrouye
c3e4f0b35b ICU-658 bumped version above 1.6
X-SVN-Rev: 2666
2000-10-13 00:26:21 +00:00
Yves Arrouye
210309eeed ICU-656 ignore libicu* not libicu-*
X-SVN-Rev: 2665
2000-10-13 00:21:36 +00:00
George Rhoten
3a45b19a66 ICU-651 u_strchr() can find NUL in a string now
X-SVN-Rev: 2658
2000-10-12 22:00:33 +00:00
Vladimir Weinstein
b3b0c23852 ICU-653 changed the library names and locations on win32
X-SVN-Rev: 2651
2000-10-12 20:36:11 +00:00
George Rhoten
27074f2079 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2649
2000-10-12 19:23:35 +00:00
George Rhoten
3015baf12e ICU-97 Parsing a Long value is faster now.
X-SVN-Rev: 2648
2000-10-12 19:04:06 +00:00
George Rhoten
b6e269c959 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2646
2000-10-12 18:34:26 +00:00
George Rhoten
1573623bd5 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2642
2000-10-12 16:58:20 +00:00
Markus Scherer
a9d79701ff ICU-415 update char names javadoc
X-SVN-Rev: 2631
2000-10-11 16:10:25 +00:00
Markus Scherer
9597f66a15 ICU-415 implement u_charFromNames()
X-SVN-Rev: 2630
2000-10-11 15:55:14 +00:00
Ram Viswanadha
77fdda8bff ICU-599 Fixed space char bug
X-SVN-Rev: 2627
2000-10-11 00:59:29 +00:00
Markus Scherer
2735ed80e3 ICU-415 complete u_enumCharNames()
X-SVN-Rev: 2626
2000-10-11 00:18:48 +00:00
Ram Viswanadha
7667e1d763 ICU-599 Added ksc_5601_1 DBCS converter for ISO-2022-JP support
and changed code.

X-SVN-Rev: 2622
2000-10-10 22:38:43 +00:00
Markus Scherer
f38c42be74 ICU-415 initial implementation of u_enumCharNames()
X-SVN-Rev: 2620
2000-10-10 17:33:09 +00:00
George Rhoten
32092d6260 ICU-564 Did more complete testing and fixed some bugs.
X-SVN-Rev: 2616
2000-10-10 00:00:04 +00:00
George Rhoten
41b12b660d ICU-573 included stdlib.h into files that need it for the utypes.h change
X-SVN-Rev: 2614
2000-10-09 22:08:05 +00:00
Markus Scherer
4a7d60806c ICU-644 fix u_charName() problems: misinterpretation of semicolon byte values
X-SVN-Rev: 2611
2000-10-09 20:22:42 +00:00
Vladimir Weinstein
d399a4228e ICU-564 corrected a typo
X-SVN-Rev: 2610
2000-10-09 20:22:03 +00:00
Yves Arrouye
c6192a34ec ICU-3 support compiling the source files twice with different options
while building; used on platforms that pass some special flags while
building shared libs (eg. -fPIC, -KPIC and others), but don't need
these flags when building static libs.

X-SVN-Rev: 2608
2000-10-09 19:06:57 +00:00
Ram Viswanadha
07de4a6245 ICU-634 Removed an if statement which sends the converter
into an infinite loop

X-SVN-Rev: 2607
2000-10-09 18:50:01 +00:00
George Rhoten
008d73c4d5 ICU-638 Forgot the U_HAVE_WCSCPY
X-SVN-Rev: 2593
2000-10-06 17:02:22 +00:00
Ram Viswanadha
d2e51ade2c ICU-639 removed comments for locales added
X-SVN-Rev: 2584
2000-10-06 00:00:03 +00:00
Yves Arrouye
67e658da3c ICU-530 use #if U_HAVE_NL_LANGINFO, not #ifdef
X-SVN-Rev: 2581
2000-10-05 23:46:48 +00:00
Yves Arrouye
0b35a1e72c ICU-630 autoconf detection code for tzset, _tzset, tzname, _tzname
(adapted from AC_STRUCT_TIMEZONE), timezone and _timezone. The defines
U_TZSET, U_TZNAME and U_TIMEZONE either contain the symbol to use, or are
undefined if there is no appropriate symbol. putil.c thus has now things
like:

	uprv_timezone() {
	#ifdef U_TIMEZONE
	    return U_TIMEZONE;
	#else
	    ...........
	#endif
	}

which is much simpler.

X-SVN-Rev: 2580
2000-10-05 23:41:59 +00:00
Yves Arrouye
1c4c881afb ICU-638 added the new U_HAVE_NL_LANGINFO, U_HAVE_CODESET, and
U_HAVE_TZSET to get rid of the (routinely incorrect) manipulation of U_POSIX
based on platform names. Also added U_HAVE_WCSCPY to define whether a
platform has the w* functions (it may not, even if wchar.h is present).

X-SVN-Rev: 2579
2000-10-05 19:33:35 +00:00
Ram Viswanadha
eeb6aaf014 ICU-535 Fixed compiler warnings at warning level 4
X-SVN-Rev: 2576
2000-10-05 16:49:47 +00:00
George Rhoten
a44afd1cde ICU-631 WIN32 is always defined in pwin32.h. This might be a fix for the cygwin problem.
X-SVN-Rev: 2575
2000-10-05 15:54:16 +00:00
Ram Viswanadha
8f08aa2260 ICU-634 Implemented design changes.
X-SVN-Rev: 2574
2000-10-05 02:25:53 +00:00
George Rhoten
5fff851553 ICU-631 Implemented ucmp16_isBogus()
X-SVN-Rev: 2573
2000-10-05 01:06:54 +00:00
George Rhoten
539869f5f4 ICU-631 The _WIN32 checking should really be WIN32.
X-SVN-Rev: 2570
2000-10-04 22:52:22 +00:00
George Rhoten
8fec668948 ICU-480 Simplified the #if for timezone. NetBSD still not supported, but it will be easier to add in the future.
X-SVN-Rev: 2565
2000-10-04 19:24:31 +00:00
Ram Viswanadha
1b4ba125a3 ICU-535 Fixed compiler warnings at warning level 4
X-SVN-Rev: 2563
2000-10-04 00:11:50 +00:00
Yves Arrouye
270f188bdd ICU-629 proper install variables used.
X-SVN-Rev: 2559
2000-10-03 22:51:46 +00:00
Steven R. Loomis
c12237ff37 ICU-627 fix portability of UConverterStaticData
X-SVN-Rev: 2557
2000-10-03 20:18:22 +00:00
Yves Arrouye
9686d239f0 ICU-620 cleaned up cleaning (w/ an ugly twist in the top-level Makefile to start cleaning w/ tools)
X-SVN-Rev: 2551
2000-10-02 23:37:16 +00:00
Vladimir Weinstein
8ea49555bd ICU-622 corrected error with instatiating aliased data
X-SVN-Rev: 2549
2000-10-02 19:58:36 +00:00
George Rhoten
421c0b9697 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2532
2000-09-28 06:00:10 +00:00
George Rhoten
4178a62d73 ICU-615 Changed the parameter name and tested it.
X-SVN-Rev: 2531
2000-09-28 05:46:28 +00:00
George Rhoten
b589f6be89 ICU-615 Changed the parameter name and tested it.
X-SVN-Rev: 2530
2000-09-27 23:39:36 +00:00
Yves Arrouye
a2ef9023ee ICU-3 install $(TARGET) if $(ENABLE_STATIC) is
not empty, not if $(ENABLE_SHARED) isn't

X-SVN-Rev: 2525
2000-09-27 22:05:50 +00:00
George Rhoten
e55dacf4f4 ICU-615 Changed the parameter name and tested it.
X-SVN-Rev: 2524
2000-09-27 20:12:18 +00:00
George Rhoten
4bf2ea6943 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2514
2000-09-26 02:03:46 +00:00
George Rhoten
dc00af16a4 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2507
2000-09-25 20:56:12 +00:00
George Rhoten
ee90d9b713 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2506
2000-09-25 18:53:50 +00:00
George Rhoten
6d73af7a3b ICU-535 fixed some compiler warnings
X-SVN-Rev: 2505
2000-09-25 17:44:01 +00:00
George Rhoten
3d38863a50 ICU-610 Described replacement functions for the deprecated functions and put in a removeal date.
X-SVN-Rev: 2495
2000-09-22 23:03:40 +00:00
Yves Arrouye
2cf8109556 ICU-3 initial support for static libraries. The current problems are:
- pkgdata will still generate a dll (not a problem if you use files or the
mappable archive).
- because of referecences to ostream in ustring, the linker wants to resolve
these symbols, forcing us to use a C++ compiler to link C programs. That is
bad and need to be resolved.
- if you build static, then reconfigure w/o them and do make clean, the
static libraries will be left over.

Static is controlled by --enable-static. Shared libraries can be disabled
with --disable-shared.

X-SVN-Rev: 2494
2000-09-22 22:58:36 +00:00
Yves Arrouye
925e82c9cf ICU-608 removed --enable-mapped in favor of --with-data-packaging
Auto-detected mmap() using AC_FUNC_MMAP (for fixed mmap).
Use both dlopen and mmap auto-detection to decide what the best default
data packaging is.

X-SVN-Rev: 2488
2000-09-22 19:02:20 +00:00
Ram Viswanadha
62f894821d ICU-599 Added ISO-2022-CN implementation. Added
getNextUChar functions.

X-SVN-Rev: 2464
2000-09-21 00:34:21 +00:00
George Rhoten
ccdc82a514 ICU-564 Updated some comments and fixed a static memory leak.
X-SVN-Rev: 2460
2000-09-20 18:09:07 +00:00
George Rhoten
dff8dc915b ICU-564 Fixed another static memory leak. This leak is Windows specific.
X-SVN-Rev: 2449
2000-09-19 18:02:53 +00:00
Alan Liu
99c0e70c51 ICU-564 reduce memory leaks
X-SVN-Rev: 2448
2000-09-19 17:07:42 +00:00
Alan Liu
c8a748528c ICU-564 add aliasing init functions
X-SVN-Rev: 2446
2000-09-19 16:33:22 +00:00
Ram Viswanadha
ad3a2dbdc4 ICU-583 removed function getUniCharFromUnicodeMBCS.
X-SVN-Rev: 2445
2000-09-19 04:31:36 +00:00
Ram Viswanadha
b1387e1163 ICU-583 Added ISO-2022-CN fromUnicode function
Fixed bugs.

X-SVN-Rev: 2441
2000-09-19 01:41:17 +00:00
Yves Arrouye
5444b1993e ICU-208 fix install target.
X-SVN-Rev: 2438
2000-09-15 23:16:27 +00:00
George Rhoten
0a8d6ecda8 ICU-564 Added the init functions. They do not allocate memory.
X-SVN-Rev: 2437
2000-09-15 19:40:20 +00:00
Markus Scherer
5596cd0c1b ICU-599 add mbcs functions to support other converters like 2022
X-SVN-Rev: 2436
2000-09-15 17:18:03 +00:00
Yves Arrouye
a35fcf29e1 ICU-208 changes for versioned libraries.
X-SVN-Rev: 2434
2000-09-15 05:07:43 +00:00
Ram Viswanadha
40b4f00ce9 ICU-583 Added additional checks to accept "ja" and "ko" as
locale data for ISO-2022 converters

X-SVN-Rev: 2415
2000-09-06 17:09:55 +00:00
Ram Viswanadha
b6cbcec06e ICU-583 fromUnicode function now emits escape sequence after every new line.
X-SVN-Rev: 2414
2000-09-01 18:19:47 +00:00
Ram Viswanadha
59ced31dbb ICU-583 Fixed KSC5601 escape sequence and memory leak.
X-SVN-Rev: 2413
2000-09-01 17:16:54 +00:00
Ram Viswanadha
7ff11f87c6 ICU-583 Fixed mixed JIS and ASCII chars bugs.
X-SVN-Rev: 2412
2000-09-01 00:27:09 +00:00
George Rhoten
5be423fddd ICU-463 extract with a NULL destination works properly now.
X-SVN-Rev: 2411
2000-08-31 23:57:00 +00:00
George Rhoten
66bae3ec8a ICU-535 fixed some compiler warnings
X-SVN-Rev: 2406
2000-08-30 23:42:28 +00:00
George Rhoten
8c4a1f9b55 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2405
2000-08-30 23:25:59 +00:00
George Rhoten
094f69a9ab ICU-573 perror is defined when UDATA_DEBUG is defined.
X-SVN-Rev: 2396
2000-08-30 17:27:08 +00:00
George Rhoten
8268a82c68 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2395
2000-08-30 16:30:55 +00:00
George Rhoten
a60e0e2836 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2386
2000-08-29 23:13:56 +00:00
George Rhoten
4665536929 ICU-472 Forgot to make the helper function local to the source code.
X-SVN-Rev: 2385
2000-08-29 22:45:46 +00:00
Yves Arrouye
efc957d163 ICU-576 added ucnvebdc.o to the files to build.
X-SVN-Rev: 2384
2000-08-29 22:40:45 +00:00
Yves Arrouye
1968fe35ad ICU-575 finally got rid of @BUILDDATADIR@ in the Makefiles. Also removed
the need for BUILD_OUT_OF_SOURCE to be defined at configure time.

X-SVN-Rev: 2383
2000-08-29 22:26:15 +00:00
Ram Viswanadha
41db7b05db ICU-576 seperated EBCDIC converter implementation to
ucnvebdc.c

X-SVN-Rev: 2381
2000-08-29 21:47:40 +00:00
George Rhoten
5cfcc7e736 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2378
2000-08-29 16:55:03 +00:00
Yves Arrouye
4e1c30d30b ICU-575 fixed a number of problems with the out of source build. The
build now works with --srcdir=../a/relative/path, --srcdir=/an/absolute/one
and in source. Auxiliary data in data and test/testdata is generated by new
Makefiles in these directories (data is new inside source). Some cleanup is
still needed, for example when makeconv generates test files... Test code
now knows about out of source vs in source build. Sorry... (Will be fixed
if data and source are at the same level some day.)

X-SVN-Rev: 2373
2000-08-29 07:28:22 +00:00
George Rhoten
6ac419ab8a ICU-573 unchange the definition of NULL (remove the "defined(__cplusplus)")
X-SVN-Rev: 2370
2000-08-28 23:25:10 +00:00
George Rhoten
83df804177 ICU-573 included stdlib.h and memory.h into files that need it for the utypes.h change
X-SVN-Rev: 2368
2000-08-28 22:48:46 +00:00
Steven R. Loomis
00f74db99a ICU-567 MacOS
X-SVN-Rev: 2365
2000-08-28 21:27:18 +00:00
Steven R. Loomis
d40014113a ICU-567 MacOS/Code Warrior
X-SVN-Rev: 2364
2000-08-28 20:28:21 +00:00
George Rhoten
16d67c3ebb ICU-463 Put fix for pointer overflow back into code.
X-SVN-Rev: 2360
2000-08-28 19:18:02 +00:00
George Rhoten
308a5811c1 ICU-463 Fixed a typo in extract
X-SVN-Rev: 2356
2000-08-26 01:54:05 +00:00
Ram Viswanadha
e20ad2971f ICU-389 Added getTargetUniCharFromUnicodeMBCS() Function.
X-SVN-Rev: 2355
2000-08-25 23:14:10 +00:00
George Rhoten
8c9b4ae99c ICU-535 fixed some compiler warnings on Sun C++ 5.0/ Solaris 2.7
X-SVN-Rev: 2354
2000-08-25 15:53:31 +00:00
George Rhoten
0608161b19 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2352
2000-08-24 21:20:10 +00:00
George Rhoten
1f16762e57 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2343
2000-08-23 23:59:09 +00:00
George Rhoten
2e2ee935df ICU-535 fixed some compiler warnings
X-SVN-Rev: 2341
2000-08-23 21:22:46 +00:00
George Rhoten
90b05dc422 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2337
2000-08-23 16:55:21 +00:00
George Rhoten
c49a0d22a7 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2334
2000-08-23 02:48:16 +00:00
George Rhoten
a419f3377a ICU-463 added a targetLength to the extract function.
X-SVN-Rev: 2332
2000-08-23 02:10:51 +00:00
George Rhoten
e44e853d93 ICU-463 added a targetLength function.
X-SVN-Rev: 2331
2000-08-23 02:10:08 +00:00
Ram Viswanadha
c054ea7791 ICU-389 Added macro. General House keeping
X-SVN-Rev: 2330
2000-08-23 01:21:23 +00:00
Ram Viswanadha
c795773004 ICU-565 Added new error codes
X-SVN-Rev: 2329
2000-08-23 01:19:05 +00:00
Ram Viswanadha
dc06ee1068 ICU-535 Fixed compiler warnings
X-SVN-Rev: 2325
2000-08-22 20:45:25 +00:00
Ram Viswanadha
9f1eabb54d ICU-535 Fixed compiler warnings
X-SVN-Rev: 2324
2000-08-22 18:12:34 +00:00
Ram Viswanadha
25f876129a ICU-565 Added new error codes
X-SVN-Rev: 2323
2000-08-22 18:04:25 +00:00
Ram Viswanadha
e8b1308f23 ICU-289 Added support for ISO-2022-KR and fixed compiler warnigs
X-SVN-Rev: 2320
2000-08-22 00:02:54 +00:00
George Rhoten
fe2bab623e ICU-535 fixed some compiler warnings
X-SVN-Rev: 2317
2000-08-21 21:40:35 +00:00
George Rhoten
dc2839b8b2 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2316
2000-08-21 21:28:58 +00:00
George Rhoten
80018a5b74 ICU-564 fixed some memory leaks
X-SVN-Rev: 2315
2000-08-21 21:22:53 +00:00
George Rhoten
3de2aeabe7 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2314
2000-08-21 19:55:59 +00:00
Vladimir Weinstein
9466acce28 ICU-460 OS/390 porting fixes
X-SVN-Rev: 2310
2000-08-17 20:37:22 +00:00
Markus Scherer
faa2a512ef ICU-410 preflighting crashed when destCapacity>0 (oops, did this yesterday?)
X-SVN-Rev: 2307
2000-08-17 17:12:38 +00:00
Markus Scherer
32c4579f31 ICU-410 u_unescapeAt() return a 21-bit code point from a surrogate pair following a backslash
X-SVN-Rev: 2300
2000-08-16 23:54:42 +00:00
Markus Scherer
afe423256d ICU-410 u_unescape() handle surrogate pairs; terminate if error
X-SVN-Rev: 2299
2000-08-16 23:31:50 +00:00
Markus Scherer
9708c34d2c ICU-410 unescape() return an empty string in case of error
X-SVN-Rev: 2298
2000-08-16 23:28:24 +00:00
Markus Scherer
d0c3e78a48 ICU-410 u_unescapeAt() must return UChar32, not int32_t
X-SVN-Rev: 2297
2000-08-16 23:27:36 +00:00
Ram Viswanadha
99047270cd ICU-389 Added check for SS2(ESC N)
X-SVN-Rev: 2295
2000-08-16 22:21:51 +00:00
Vladimir Weinstein
82781d6967 ICU-460 OS/390 porting fixes
X-SVN-Rev: 2294
2000-08-16 20:45:23 +00:00
Alan Liu
52826c7008 ICU-410 fix bugs in unescape code
X-SVN-Rev: 2292
2000-08-16 20:24:57 +00:00
Ram Viswanadha
164ff8b672 ICU-389 changed the escape sequences in the code from
chars to hex values

X-SVN-Rev: 2291
2000-08-16 19:57:24 +00:00
Steven R. Loomis
9042020f68 ICU-550 malloc(0) == NULL on aix
X-SVN-Rev: 2288
2000-08-16 17:43:45 +00:00
Markus Scherer
e9846bd275 ICU-103 fix fallback handling for non-intrinsic surrogate pair results
X-SVN-Rev: 2269
2000-08-15 21:33:54 +00:00
Markus Scherer
689b779507 ICU-103 fix fallback search and two warnings
X-SVN-Rev: 2264
2000-08-15 19:07:46 +00:00
Helena Chapman
971193574d ICU-550 Build on AIX.
X-SVN-Rev: 2263
2000-08-15 19:04:36 +00:00
Alan Liu
8e99af2483 ICU-535 fix MSVC level 4 warnings
X-SVN-Rev: 2259
2000-08-15 18:25:20 +00:00
Alan Liu
d8ad2edf61 ICU-410 remove dead code
X-SVN-Rev: 2256
2000-08-15 15:42:49 +00:00
Steven R. Loomis
4e6c23c47e ICU-289 remove dependency on windows case insensitivity & alias table from 2022
X-SVN-Rev: 2251
2000-08-15 02:29:41 +00:00
George Rhoten
4ee919a818 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2249
2000-08-15 01:27:54 +00:00
Ram Viswanadha
3f08ec4dd5 ICU-289 moved struct definition of ISO2022 to ucnv2022.c
X-SVN-Rev: 2239
2000-08-14 23:58:08 +00:00
Ram Viswanadha
f549adffb8 ICU-289 Removed commented code
X-SVN-Rev: 2238
2000-08-14 23:57:20 +00:00
Ram Viswanadha
5c86488c27 ICU-289 Added support for ISO2022-JP and fixed bugs in
ucnv_toUnicode() function

X-SVN-Rev: 2236
2000-08-14 23:56:19 +00:00
Helena Chapman
3f2fb26333 ICU-401 Make 1.6 tree compiled and linked on S/400.
X-SVN-Rev: 2233
2000-08-14 23:35:57 +00:00
George Rhoten
123caf9bbd ICU-535 fixed some compiler warnings
X-SVN-Rev: 2232
2000-08-14 23:23:20 +00:00
Vladimir Weinstein
250331389c ICU-548 converter leaks fixes
X-SVN-Rev: 2230
2000-08-14 23:11:00 +00:00
Markus Scherer
9f63dce881 ICU-471 improve checks for preflighting
X-SVN-Rev: 2228
2000-08-14 23:05:10 +00:00
Markus Scherer
760629f11b ICU-471 document arabic number shaping
X-SVN-Rev: 2224
2000-08-14 20:15:43 +00:00
Steven R. Loomis
b871c6590c ICU-546 fixed EBCDIC_STATEFUL
X-SVN-Rev: 2219
2000-08-12 04:27:59 +00:00
Markus Scherer
e7d7910db3 ICU-471 implement arabic number shaping
X-SVN-Rev: 2216
2000-08-12 01:01:03 +00:00
George Rhoten
80c3feb89f ICU-535 fixed some compiler warnings
X-SVN-Rev: 2208
2000-08-11 21:56:35 +00:00
George Rhoten
48694f0fea ICU-535 fixed some compiler warnings, and changed the order of an assignment and return according to weiv.
X-SVN-Rev: 2206
2000-08-11 21:25:19 +00:00
George Rhoten
a8f7718d40 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2205
2000-08-11 21:24:17 +00:00
George Rhoten
f3144ab272 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2204
2000-08-11 20:36:51 +00:00
Markus Scherer
3508752164 ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2200
2000-08-11 19:39:34 +00:00
Markus Scherer
17df34956e ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2199
2000-08-11 19:23:50 +00:00
Markus Scherer
913d5e7d5f ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2198
2000-08-11 19:10:10 +00:00
Alan Liu
c48b7acd6f ICU-89 change int8_t to uint8_t per compiler warnings
X-SVN-Rev: 2192
2000-08-11 17:31:09 +00:00
Yves Arrouye
013eb8dd42 ICU-322 fixed ucnv_getStandard().
X-SVN-Rev: 2185
2000-08-11 04:15:06 +00:00
George Rhoten
ebd5136aac ICU-535 fixed some compiler warnings
X-SVN-Rev: 2182
2000-08-11 02:08:59 +00:00
George Rhoten
c094c8a0eb ICU-535 fixed some compiler warnings
X-SVN-Rev: 2181
2000-08-11 01:27:17 +00:00
George Rhoten
cb875ce8e4 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2179
2000-08-11 00:02:59 +00:00
George Rhoten
0cd0aae1ef ICU-535 fixed some compiler warnings
X-SVN-Rev: 2177
2000-08-10 21:45:43 +00:00
Yves Arrouye
e04218d90d ICU-322 oops... Initialize the tag table pointer when version is >2.0,
not >3.0 (I bumped the version down to 2.1 yesterday...)

X-SVN-Rev: 2175
2000-08-10 21:44:42 +00:00
Vladimir Weinstein
718c069cc4 ICU-541 Implemented ures_getVersion
X-SVN-Rev: 2169
2000-08-10 19:10:12 +00:00
Vladimir Weinstein
e6f0cc25d2 ICU-322 UDataInfo structure must initialize size field before calling udata_getInfo
X-SVN-Rev: 2168
2000-08-10 16:34:07 +00:00
Yves Arrouye
754b2862cf ICU-322 correctky skips over the trailing 0 when looking for the nth
standard name.

X-SVN-Rev: 2166
2000-08-10 03:53:44 +00:00
George Rhoten
224cf62fdd ICU-535 fixed some compiler warnings
X-SVN-Rev: 2165
2000-08-10 02:08:49 +00:00
George Rhoten
a34fe9a10a ICU-535 fixed some compiler warnings
X-SVN-Rev: 2164
2000-08-10 01:59:18 +00:00
Yves Arrouye
921a9787cc ICU-322 support for standard names, which are tagged converter
aliases.

X-SVN-Rev: 2161
2000-08-10 01:32:29 +00:00
George Rhoten
0a22502b3c ICU-535 fixed some compiler warnings
X-SVN-Rev: 2159
2000-08-10 01:01:57 +00:00
Vladimir Weinstein
6656731933 ICU-461 fixes to locmap (wrong data & order) + added mapping root<->LANG_NEUTRAL
X-SVN-Rev: 2152
2000-08-09 22:59:12 +00:00
Helena Chapman
b573a15d4b ICU-311 Make sure ucnv_cb.h is also exported.
X-SVN-Rev: 2147
2000-08-09 22:41:15 +00:00
George Rhoten
5a1369d8bc ICU-535 Removed a compiler warning
X-SVN-Rev: 2139
2000-08-08 23:26:10 +00:00
George Rhoten
c849211ab3 ICU-535 Removed a compiler warning
X-SVN-Rev: 2137
2000-08-08 22:15:50 +00:00
George Rhoten
6e855d17f7 ICU-535 Removed a compiler warning
X-SVN-Rev: 2136
2000-08-08 21:36:52 +00:00
George Rhoten
dd9b2b776e ICU-535 Removed a compiler warning
X-SVN-Rev: 2135
2000-08-08 21:20:40 +00:00
George Rhoten
760453c495 ICU-535 Removed a compiler warning
X-SVN-Rev: 2134
2000-08-08 20:38:48 +00:00
George Rhoten
965e162a6b ICU-472 strlen is no longer called in u_uastrncpy
X-SVN-Rev: 2131
2000-08-08 00:18:02 +00:00
Helena Chapman
b853fb70a0 ICU-373 Added support for ibm-1388 codepage.
X-SVN-Rev: 2126
2000-08-07 23:04:41 +00:00
Vladimir Weinstein
51a6a42dbe ICU-461 LCID <-> POSIX translation is updated and synchronized with Windows data
X-SVN-Rev: 2122
2000-08-07 22:01:07 +00:00
Yves Arrouye
67948bdd9f ICU-322 added uprv_strnicmp() for use by gencnval.
X-SVN-Rev: 2111
2000-08-04 04:48:09 +00:00
Madhu K
3c59e35c1e ICU-447 fixed expand
X-SVN-Rev: 2104
2000-08-02 23:40:16 +00:00
Steven R. Loomis
6fa70ecf4a ICU-527 Don't crash if setlocale() returns NULL
X-SVN-Rev: 2099
2000-08-02 19:36:19 +00:00
Steven R. Loomis
afbd051d76 ICU-311 more cbWrite updates and changes to the included callbacks
X-SVN-Rev: 2098
2000-08-02 19:35:17 +00:00
Alan Liu
fdb2dc8d65 ICU-89 fix handling of recursively decomposing chars
X-SVN-Rev: 2089
2000-08-01 20:29:15 +00:00
Vladimir Weinstein
2d4ed86f3e ICU-432 UnicodeConverter copy ctor used new for memory freed by free
X-SVN-Rev: 2088
2000-08-01 19:41:44 +00:00
George Rhoten
c97ff0012b ICU-469 added some Todo comments.
X-SVN-Rev: 2087
2000-08-01 17:58:43 +00:00
Yves Arrouye
723cec4f28 ICU-518 UnicodeConverterCPP renamed to UnicodeConverter.
X-SVN-Rev: 2084
2000-08-01 00:44:15 +00:00
Madhu K
ef00c94aa2 ICU-311 header file ucnv_cb.h missing
X-SVN-Rev: 2082
2000-07-31 23:39:28 +00:00
Vladimir Weinstein
759d6be056 ICU-460 OS/390 related changes
X-SVN-Rev: 2079
2000-07-31 22:33:44 +00:00
Yves Arrouye
7cc6dbc8c8 ICU-353 corrected initialization of array.
X-SVN-Rev: 2077
2000-07-31 18:46:38 +00:00
Steven R. Loomis
ee9ba216fc ICU-344 reset state properly after callback
X-SVN-Rev: 2074
2000-07-31 14:39:47 +00:00
Steven R. Loomis
70ef5879e2 ICU-311 cbWrite implementation
X-SVN-Rev: 2073
2000-07-31 14:38:10 +00:00
George Rhoten
01583c7470 ICU-469 Added some improvements to speed up the code by 10% for normal unicode conversion.
X-SVN-Rev: 2060
2000-07-28 03:11:38 +00:00
Madhu K
8cf8308bc9 ICU-176 Fixed utf8_appendCharSafeBody to handle buffer overflow correctly
X-SVN-Rev: 2051
2000-07-26 22:37:11 +00:00
Steven R. Loomis
de7b2bd35a ICU-176 utf8 table update for unix
X-SVN-Rev: 2050
2000-07-26 20:37:53 +00:00
Alan Liu
811aebdf9d ICU-89 rename local variable
X-SVN-Rev: 2049
2000-07-26 20:17:45 +00:00
Alan Liu
7678a3a760 ICU-89 add private doReplace
X-SVN-Rev: 2048
2000-07-26 16:41:17 +00:00
Alan Liu
9020805ecf ICU-89 numerous changes large and small to bring into conformance with UTR15
X-SVN-Rev: 2047
2000-07-26 16:40:43 +00:00
Alan Liu
aaedfda461 ICU-89 change typeMask to typeBit, other updates for 3.0 conformance
X-SVN-Rev: 2045
2000-07-26 16:24:12 +00:00
Madhu K
2ed6efa244 ICU-176 UCAPI needed for utf_countTrailBytes for export
X-SVN-Rev: 2040
2000-07-26 02:01:00 +00:00
Madhu K
460392f2d8 ICU-176 Added ifdef for U_IMPORT and U_EXPORT for utf_countTrailBytes
X-SVN-Rev: 2039
2000-07-26 02:00:22 +00:00
George Rhoten
4a3d9b01fe ICU-469 Fixed a few offset errors with trucated UTF-8 chars,
and the invalid UTF-8 tail should now be written with small buffers.

X-SVN-Rev: 2038
2000-07-26 00:55:30 +00:00
George Rhoten
e4767761cf ICU-311 The offset is now incremented with the target when a character is substitued.
I also removed some tabs within the file.

X-SVN-Rev: 2037
2000-07-26 00:20:19 +00:00
George Rhoten
11452e3956 ICU-469 Fixed various UTF-8 offset bugs and added some
optimizations by doing pointer arithmatic instead of array indexing.

X-SVN-Rev: 2033
2000-07-25 19:33:02 +00:00
Yves Arrouye
3e9dfa505f ICU-353 removed warnings.
X-SVN-Rev: 2032
2000-07-25 17:00:23 +00:00
Madhu K
9882141a96 ICU-176 two important macros need more parentheses for op precedence!
X-SVN-Rev: 2031
2000-07-25 00:46:25 +00:00
George Rhoten
d27fbfa1f1 ICU-469 When fromUCharErrorBehaviour was set to
the function pointer in the jump table that jumped to
UCNV_FROM_U_CALLBACK_STOP, the macros would
break out of the current loop prematurely.

X-SVN-Rev: 2029
2000-07-24 20:33:23 +00:00
George Rhoten
c6dd3c3c43 ICU-469 miscellaneous bug fixes for UTF-8
X-SVN-Rev: 2025
2000-07-22 03:21:16 +00:00
Alan Liu
a96ab43e48 ICU-498 indentation cleanup
X-SVN-Rev: 2024
2000-07-22 00:10:49 +00:00
Markus Scherer
9a4e8565f5 ICU-311 formally remove broken iso-2022 support for now
X-SVN-Rev: 2022
2000-07-22 00:02:57 +00:00
Markus Scherer
3aacc28a78 ICU-311 harden some functions for bad input
X-SVN-Rev: 2021
2000-07-21 23:58:31 +00:00
Markus Scherer
6e5dc84c5c ICU-311 comment out currently unused functions
X-SVN-Rev: 2016
2000-07-21 22:48:15 +00:00
George Rhoten
1e5e8a4f36 ICU-469 small speed improvement for UTF-8
X-SVN-Rev: 2009
2000-07-21 20:42:04 +00:00
George Rhoten
5f79ea13fe ICU-469 follows the coding style rules better, and fixed a few UTF-8 bugs
X-SVN-Rev: 2003
2000-07-21 01:25:30 +00:00
Steven R. Loomis
6260858f4f ICU-107 ubidiwrt.c
X-SVN-Rev: 2000
2000-07-21 00:53:51 +00:00
Steven R. Loomis
77001a5b42 ICU-184 Why was this file still here?
X-SVN-Rev: 1999
2000-07-21 00:25:26 +00:00
Vladimir Weinstein
b32fbfedc6 ICU-447 removed dead code
X-SVN-Rev: 1995
2000-07-20 22:25:32 +00:00
Vladimir Weinstein
42fe74c7d2 ICU-442 remove dependency on wchar.h
X-SVN-Rev: 1992
2000-07-20 20:52:12 +00:00
Yves Arrouye
a3b6777ec0 ICU-377 small fixes for Darwin.
X-SVN-Rev: 1970
2000-07-20 05:17:49 +00:00
Yves Arrouye
13dccbd5b1 ICU-377 split the POXIX functionality into U_POSIX_LOCALE,
U_POSIX_TIMEZONE, and add U_HAVE_NL_LANGINFO for those that have
U_POSIX_LOCALE defined (may or may not have nl_langinfo()). nl_langinfo()
should be autodected but I'm lazy today (and everything in putil.c should
be autodected, actually, so there!). For Darwin, define U_POSIX_LOCALE
but not U_HAVE_NL_LANGINFO.

X-SVN-Rev: 1969
2000-07-20 04:43:47 +00:00
Helena Chapman
f9ea95a88e ICU-401 More 400 compilation changes.
X-SVN-Rev: 1964
2000-07-20 00:39:21 +00:00
George Rhoten
0d727eb7f0 ICU-469 Fixed a problem when UTF-8 has a surrogate on two different buffers.
X-SVN-Rev: 1962
2000-07-20 00:10:15 +00:00
Alan Liu
1ab1e529c5 ICU-307 lenient converter name matching
X-SVN-Rev: 1957
2000-07-19 22:18:43 +00:00
Markus Scherer
fc5da8caef ICU-103 fromU() improvement needed more condition checking
X-SVN-Rev: 1955
2000-07-19 21:54:16 +00:00
Markus Scherer
7130aeef99 ICU-103 more performance in fromU() by goto _into_ the loop
X-SVN-Rev: 1954
2000-07-19 21:24:04 +00:00
Alan Liu
85d51e6ece ICU-89 improve performance for non-composing combining
X-SVN-Rev: 1944
2000-07-19 16:09:09 +00:00
Yves Arrouye
9fbbbf01bc ICU-377 removed U_RHAPSODY, only U_DARWIN is used now.
X-SVN-Rev: 1938
2000-07-19 04:29:20 +00:00
Helena Chapman
5eda06b3c0 ICU-401 more s/400 compilation changes.
X-SVN-Rev: 1937
2000-07-19 00:21:29 +00:00
Alan Liu
133d4a5035 ICU-89 new version with more compact typeMask
X-SVN-Rev: 1933
2000-07-18 19:18:09 +00:00
Alan Liu
a8c14fad43 ICU-89 eliminate zero-index combining chars from tables
X-SVN-Rev: 1925
2000-07-18 18:08:33 +00:00
Madhu K
4463cf3414 ICU-176 fixed T_UConverter_getNextUChar_UTF16_BE
and T_UConverter_getNextUChar_UTF16_LE  for surrogate behaviour

X-SVN-Rev: 1923
2000-07-18 18:02:36 +00:00
Markus Scherer
fc23fe2b5d ICU-103 getNextUChar() set index-outofbounds if there is no output but no other error
X-SVN-Rev: 1922
2000-07-18 17:42:33 +00:00
Helena Chapman
633f3d9104 ICU-401 400 porting changes based on Barry's feedback.
X-SVN-Rev: 1919
2000-07-17 23:36:52 +00:00
Steven R. Loomis
9a254a047e ICU-508 fix Locale::TRADITIONAL_CHINESE constant
X-SVN-Rev: 1918
2000-07-17 23:33:38 +00:00
Markus Scherer
48b75bff5c ICU-103 getNextUChar() use helper ucnv_getUChar32KeepOverflow(), and improve fromUnicode performance
X-SVN-Rev: 1915
2000-07-17 21:33:31 +00:00
Markus Scherer
3b048dbe57 ICU-103 add getNextUChar() helper ucnv_getUChar32KeepOverflow()
X-SVN-Rev: 1914
2000-07-17 21:30:13 +00:00
George Rhoten
072f942e56 ICU-399 Added code to u_strstr again
X-SVN-Rev: 1913
2000-07-17 21:02:18 +00:00
George Rhoten
8f94f238be ICU-399 Added code to u_strstr
X-SVN-Rev: 1912
2000-07-17 20:47:02 +00:00
Markus Scherer
4015163642 ICU-505 the callback call used to trash the args->target etc. pointers, do this on a copy
X-SVN-Rev: 1907
2000-07-17 19:49:44 +00:00
Markus Scherer
4b51eae486 ICU-505 remove obsolete values and move error buffer length to ucnv_bld.h
X-SVN-Rev: 1905
2000-07-17 19:48:25 +00:00
Markus Scherer
5b2fb059cd ICU-505 increase size of overflow buffer to 32 (need >=24)
X-SVN-Rev: 1904
2000-07-17 19:47:36 +00:00
Alan Liu
24c6d0cd19 ICU-410 update docs
X-SVN-Rev: 1900
2000-07-16 13:49:24 +00:00
Alan Liu
cb74716658 ICU-410 create unified unescape function(s)
X-SVN-Rev: 1896
2000-07-16 13:39:07 +00:00
Markus Scherer
42c49e3617 ICU-311 changeState_2022 also copy cb contexts
X-SVN-Rev: 1895
2000-07-15 22:04:08 +00:00
Markus Scherer
a365ea6146 ICU-311 op== also compare the cb contexts
X-SVN-Rev: 1894
2000-07-15 22:03:20 +00:00
Markus Scherer
f5305acb59 ICU-311 call callbacks from ucnv_reset() & ucnv_close() as designed
X-SVN-Rev: 1892
2000-07-15 20:47:31 +00:00
Markus Scherer
fa1d2584a1 ICU-311 more small fixes in callbacks
X-SVN-Rev: 1891
2000-07-15 20:46:53 +00:00
Markus Scherer
64d3073fe9 ICU-495 ucnv_getInvalidXXX() must return the invalidXXX buffers, not the overflow buffers
X-SVN-Rev: 1890
2000-07-15 20:09:58 +00:00
Markus Scherer
d85d2027a2 ICU-103 fix little-endian fromU and use dedicated UConverter->toUBytes for state
X-SVN-Rev: 1889
2000-07-15 01:16:13 +00:00
Markus Scherer
6f2e1ed803 ICU-103 add more toU state fields to UConverter
X-SVN-Rev: 1888
2000-07-15 01:11:49 +00:00
Markus Scherer
9d3905ca8e ICU-495 fix error checking etc. in getInvalidXXX()
X-SVN-Rev: 1887
2000-07-15 01:11:05 +00:00
George Rhoten
874a1b6f38 ICU-399 Added more documentation on strstr
X-SVN-Rev: 1885
2000-07-14 23:33:18 +00:00
Madhu K
ddf9778682 ICU-311 Fixed the ESCAPE_CALLBACK
X-SVN-Rev: 1877
2000-07-14 19:40:36 +00:00
Markus Scherer
06ca05dc38 ICU-311 for the new callback api, ucnv_getXCallBack() need to return both the function pointer and the context
X-SVN-Rev: 1873
2000-07-14 01:01:14 +00:00
Markus Scherer
5af0fcc38d ICU-311 for the new callback api, geMissingXAction() need to return both the function pointer and the context
X-SVN-Rev: 1872
2000-07-14 01:00:59 +00:00