Commit Graph

370 Commits

Author SHA1 Message Date
Alan Liu
1ab1e529c5 ICU-307 lenient converter name matching
X-SVN-Rev: 1957
2000-07-19 22:18:43 +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
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
George Rhoten
874a1b6f38 ICU-399 Added more documentation on strstr
X-SVN-Rev: 1885
2000-07-14 23:33:18 +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
Steven R. Loomis
c596b24a8a ICU-393 .cvsignore cleanup
X-SVN-Rev: 1866
2000-07-13 22:04:24 +00:00
Steven R. Loomis
b7031a5f84 ICU-497 upgrade version #
X-SVN-Rev: 1847
2000-07-13 16:46:25 +00:00
Jim Snyder Grant
0c71649fd5 ICU-495 implementation for ucnv_getInvalidChars
and ucnv_getInvalidUChars. Also corrected UChars proto.

X-SVN-Rev: 1843
2000-07-13 15:25:04 +00:00
Yves Arrouye
fb1d5d2135 ICU-377 explicitely use extern for U_CFUNC in C, since not doing so brings complaints from the Rhapsody/Darwin Mach linker.
X-SVN-Rev: 1804
2000-07-12 06:34:43 +00:00
Yves Arrouye
995ca8a672 ICU-360 detect gmake or make and set U_MAKE to that. Substitute U_MAKE
in platform.h.in, and hardcode it to "nmake" in pwin32.h and "gmake" in
pos400.h and pos2.h. Then use U_MAKE to define the default make command in
pkgdata.c, if there is no MAKE env variable.

X-SVN-Rev: 1793
2000-07-11 22:25:51 +00:00
Vladimir Weinstein
4a043d3575 ICU-432 more memory leaks fixed
X-SVN-Rev: 1776
2000-07-10 20:43:34 +00:00
Helena Chapman
2fd0a3db47 ICU-311 the setToU and fromUCallback function signatures update.
X-SVN-Rev: 1736
2000-07-05 20:56:42 +00:00
Yves Arrouye
d37141dcac ICU-371 changed LINUX and SOLARIS to U_LINUX and U_SOLARIS, also
changed HAVE_INTTYPES_H to U_HAVE_INTTYPES_H.

X-SVN-Rev: 1726
2000-06-30 21:35:03 +00:00
Vladimir Weinstein
d963093f45 ICU-436 additional constructors and _open functions for resource bundles
X-SVN-Rev: 1723
2000-06-30 20:24:59 +00:00
Yves Arrouye
ff2268461c ICU-322 new ucnv_getStandardName() API.
X-SVN-Rev: 1722
2000-06-30 19:43:00 +00:00
Helena Chapman
0ad634011e ICU-311 Another major update with Callback API changes.
X-SVN-Rev: 1720
2000-06-30 17:38:47 +00:00
Markus Scherer
4c42ba5b9b ICU-471 add API facade for u_shapeArabic()
X-SVN-Rev: 1717
2000-06-30 00:29:46 +00:00
Markus Scherer
6aea18ee6e ICU-410 add API facades for string unescaping
X-SVN-Rev: 1707
2000-06-29 19:36:20 +00:00
Markus Scherer
c685f44e89 ICU-400 add u_strchr32()
X-SVN-Rev: 1706
2000-06-29 19:00:55 +00:00
Markus Scherer
68fe01cfa0 ICU-399 add API facade for u_strstr()
X-SVN-Rev: 1705
2000-06-29 18:52:11 +00:00
Markus Scherer
b2375850b7 ICU-241 remove obsolete T_INT32()
X-SVN-Rev: 1704
2000-06-29 18:42:34 +00:00
Markus Scherer
4660da6313 ICU-415 add API facade for name->code point and enum names
X-SVN-Rev: 1703
2000-06-29 18:27:07 +00:00
Steven R. Loomis
784b5f52ad ICU-432 comments, syntax, etc
X-SVN-Rev: 1701
2000-06-29 03:04:28 +00:00
Steven R. Loomis
d7b44985af ICU-311 updates for callback changes
X-SVN-Rev: 1687
2000-06-29 00:14:01 +00:00
Steven R. Loomis
93e522d9d9 ICU-311 removed
X-SVN-Rev: 1675
2000-06-28 21:13:25 +00:00
Alan Liu
ab9145acf3 ICU-450 move urep to common
X-SVN-Rev: 1670
2000-06-28 20:19:11 +00:00
Alan Liu
c1346acb3c ICU-450 remove extractBetween from Replaceable API
X-SVN-Rev: 1669
2000-06-28 20:10:42 +00:00
Helena Chapman
22502d9977 ICU-311 fixed to use the new callback APIs.
X-SVN-Rev: 1667
2000-06-28 19:43:17 +00:00
Helena Chapman
377889ccd9 ICU-311 Major rewrite of the callback APIs. Needs to be checked
in without more testing to make the 6/29/2000 API deadline.  Lots
of warnings still, offset handling is not implemented.  More unit tests
is required because the current implementation actually passes the tests.

X-SVN-Rev: 1661
2000-06-27 20:47:56 +00:00
Steven R. Loomis
e928a03866 ICU-442 #if U_HAVE_WCHAR_H
X-SVN-Rev: 1633
2000-06-19 17:16:46 +00:00
Vladimir Weinstein
2e2f111d7c ICU-184 removed commented out APIs
X-SVN-Rev: 1578
2000-06-07 00:01:16 +00:00
Steven R. Loomis
3ec60c904e ICU-420 make header files build by themselves
X-SVN-Rev: 1558
2000-06-03 04:18:06 +00:00
Vladimir Weinstein
afbd81e9f9 ICU-184 including private headers (uhash.h) in public headers is a very bad thing indeed
X-SVN-Rev: 1556
2000-06-03 02:50:17 +00:00
Helena Chapman
ea985ee0d3 ICU-408 HP-UX port changes.
X-SVN-Rev: 1473
2000-05-24 21:47:06 +00:00
Markus Scherer
02ac2e9283 ICU-176 support UChar32 code points in Normalizer API (not implementation)
X-SVN-Rev: 1468
2000-05-24 20:56:19 +00:00
Markus Scherer
7195589e89 ICU-176 add forgotten UChar32 overloads
X-SVN-Rev: 1464
2000-05-24 20:03:21 +00:00
Vladimir Weinstein
1583efe468 ICU-406 putting collation in resource bundles
X-SVN-Rev: 1463
2000-05-24 19:58:40 +00:00
Markus Scherer
7e85fb6dae ICU-397 sorry, the previous commit had the wrong comment - make u_versionFrom/ToString() public
X-SVN-Rev: 1436
2000-05-22 22:24:15 +00:00
Markus Scherer
db57518b4c ICU-405 remove duplicate country name for SH
X-SVN-Rev: 1435
2000-05-22 22:22:14 +00:00
Markus Scherer
1c7819548d ICU-384 ucnv_open() recognize options appended to the converter name
X-SVN-Rev: 1429
2000-05-22 20:15:09 +00:00
Alan Liu
358312cc1a ICU-352 add new Replaceable API
X-SVN-Rev: 1423
2000-05-20 04:41:12 +00:00
Helena Chapman
7f9bb6418e ICU-351 This should really be another bug but the jitterbug system is down now. On AIX 4.2 and 4.3, though the inttypes.h definition is different, the binary compatibility forced us to make the changes in platform.h.in.
X-SVN-Rev: 1413
2000-05-19 00:04:07 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Vladimir Weinstein
881a9d1d31 ICU-184 support for storing binary collation data in resource bundles (initial revision)
X-SVN-Rev: 1408
2000-05-18 21:25:51 +00:00
Markus Scherer
9e868b81f1 ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1406
2000-05-18 20:22:21 +00:00
Markus Scherer
404fa43fab ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1389
2000-05-18 17:59:16 +00:00
Markus Scherer
4c2b7dfd0e ICU-221 move isWhitespace() implementation to C
X-SVN-Rev: 1386
2000-05-18 17:40:19 +00:00
Vladimir Weinstein
c786b21d52 ICU-184 resource data files in memory mapped format (initial revision)
X-SVN-Rev: 1365
2000-05-15 18:39:17 +00:00
Helena Chapman
4a4bbe2373 ICU-43 Added fallback implementation to handle to/fromUnicode
mapping correctly.

X-SVN-Rev: 1359
2000-05-12 19:59:03 +00:00
Yves Arrouye
8e3346f6f4 ICU-381 revert to using NULL on Markus's demand, and use 0 in the place
where NULL is inappropriate (resbund.cpp); backed up to the (wrong) definition
of NULL if it doesn't exist, and got rid of U_NULL (unicode/utypes.h).

X-SVN-Rev: 1349
2000-05-11 20:37:38 +00:00
Helena Chapman
784f896999 ICU-375 The release number can't contain non-numeric values.
X-SVN-Rev: 1333
2000-05-04 19:37:05 +00:00
Markus Scherer
faa9cb8e41 ICU-176 remove incorrect 'inline's
X-SVN-Rev: 1332
2000-05-04 18:21:36 +00:00
Markus Scherer
327ce99a6a ICU-375 update the version number to 1.5d01
X-SVN-Rev: 1331
2000-05-04 17:54:52 +00:00
Markus Scherer
d26ceb832d ICU-375 merge udata_setCommonData() from 1.4.1.2 and correct isAcceptable signature
X-SVN-Rev: 1320
2000-05-03 23:09:44 +00:00
Yves Arrouye
fd7dd7316f ICU-368 on WIN32, use <iostream.h> as using<iostream> briter.cpp.
X-SVN-Rev: 1305
2000-05-02 22:49:37 +00:00
Yves Arrouye
15bba7372f ICU-362 if HAVE_INTTYPES_H is false, include <sys/types.h> and other
headers before typedef'ing ourselves.

X-SVN-Rev: 1296
2000-04-28 05:19:07 +00:00
Yves Arrouye
f59e194eab ICU-368 #define U_IOSTREAM_SOURCE to the level of I/O streams support
of the platform (see comment inside headers)

X-SVN-Rev: 1250
2000-04-25 21:20:01 +00:00
Markus Scherer
b091b5e0f2 ICU-298 jitterbug 130: add support for u_isMirrored() and u_charMirror()
X-SVN-Rev: 1239
2000-04-24 22:31:22 +00:00
Markus Scherer
405bed84d9 ICU-176 make the utf_is_first/second_surrogate() work with code points
X-SVN-Rev: 1206
2000-04-21 18:56:21 +00:00
Markus Scherer
f421a70211 ICU-176 add and document full, efficient UTF-16 support to CharacterIterator and ForwardCharacterIterator
X-SVN-Rev: 1203
2000-04-20 23:02:20 +00:00
Steven R. Loomis
631d0d7614 ICU-267 Move data-based converters' static data into makeconv.
X-SVN-Rev: 1197
2000-04-20 19:42:36 +00:00
Steven R. Loomis
05a806c6bc ICU-367 clean up use of iostream.h
X-SVN-Rev: 1179
2000-04-20 17:16:45 +00:00
Steven R. Loomis
6e9f280f6c ICU-267 make CNV file format portable. (+ makeconv cleanup)
X-SVN-Rev: 1176
2000-04-19 23:05:27 +00:00
Markus Scherer
7da96509f7 ICU-176 dix definitions of new inline functions
X-SVN-Rev: 1171
2000-04-19 20:28:38 +00:00
Markus Scherer
aaa1c97607 ICU-176 change constructors from UChar32 and from capacity as proposed
X-SVN-Rev: 1170
2000-04-19 20:27:00 +00:00
Markus Scherer
1ec1a729fd ICU-176 fix UTF_IS_SURROGATE_FIRST()
X-SVN-Rev: 1169
2000-04-19 20:21:07 +00:00
Steven R. Loomis
e2270878c4 ICU-365 fix version 1.4.2
X-SVN-Rev: 1168
2000-04-19 20:01:41 +00:00
Steven R. Loomis
90d12c93b9 ICU-185 Locale takes/returns char*. Old api's deprecated. Implementation fixed to not use deprecated api's.
X-SVN-Rev: 1134
2000-04-15 21:19:44 +00:00
Yves Arrouye
bff1b2e05c ICU-353 use better names to replace index, depending on what the func/
method actually does with it (for example: n to get the nth element, offset
within a buffer, etc.).

X-SVN-Rev: 1131
2000-04-14 05:22:29 +00:00
Yves Arrouye
c69c164be8 ICU-353 basic warnings cleanup (not touching object's memory layout). A
basic build now compiles w/o a single warning on Linux. One with --enable-strict
is a different matter...

X-SVN-Rev: 1124
2000-04-13 23:00:43 +00:00
Markus Scherer
a8ea7e8c8b ICU-176 ucnv_getNextUChar() return a UChar32 code point
X-SVN-Rev: 1121
2000-04-13 17:27:35 +00:00
Markus Scherer
7a4cc4da43 ICU-176 fix UTF_IS_SURROGATE() to work on both code units & code points
X-SVN-Rev: 1120
2000-04-13 17:24:48 +00:00
Markus Scherer
9188757ce0 ICU-136 reduce UnicodeString footprint: remove fHashCode & reduce US_STACKBUF_SIZE to 7; size 32B
X-SVN-Rev: 1118
2000-04-12 20:04:41 +00:00
Markus Scherer
7c2d19d828 ICU-176 UTF-16 support with CharacterIterator; new functions for more efficient iteration
X-SVN-Rev: 1117
2000-04-12 19:36:30 +00:00
Markus Scherer
2b2af0bbc5 ICU-176 utf macros get, prev, back take start parameter
X-SVN-Rev: 1116
2000-04-12 19:36:07 +00:00
Markus Scherer
c117cd37bb ICU-176 utf macros get, prev, back take start parameter; StringChIter is friend
X-SVN-Rev: 1115
2000-04-12 19:33:55 +00:00
Markus Scherer
b1c5fc409a ICU-348 add {} to initializer of array of structs
X-SVN-Rev: 1097
2000-04-07 23:10:53 +00:00
Yves Arrouye
318f3cb528 ICU-347 if U_SIZEOF_WCHAR_T == 0 then undef it before setting it in
case it is really defined to 0, not undefined.

X-SVN-Rev: 1090
2000-04-06 23:37:46 +00:00
Yves Arrouye
12e6889366 ICU-347 new configure tests to check for the existence of wchar.h
(use #if U_HAVE_WCHAR_H) and the size of wchar_t (use U_SIZEOF_WCHAR_T to get
the size). The new symbols appear in platform.h (and icucfg gets a HAVE_WCHAR_H too).

X-SVN-Rev: 1089
2000-04-06 23:36:17 +00:00
Markus Scherer
84aa10b17f ICU-347 do not use wchar.h except when we really need it and we know that we have it
X-SVN-Rev: 1086
2000-04-06 22:59:56 +00:00
Markus Scherer
20dd1961d9 ICU-347 do not use wchar.h except when we really need it and we know that we have it
X-SVN-Rev: 1085
2000-04-06 22:42:13 +00:00
Markus Scherer
e542c7dedc ICU-346 change IEEE_754 to a numeric macro (value 0 or 1)
X-SVN-Rev: 1080
2000-04-06 16:45:03 +00:00
Markus Scherer
bba7ac1a00 ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1052
2000-04-03 23:53:59 +00:00
Markus Scherer
e60f81180f ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1050
2000-04-01 00:21:57 +00:00
Markus Scherer
f539dd4e91 ICU-176 better UChar[32] type detection
X-SVN-Rev: 1049
2000-04-01 00:17:55 +00:00
Jim Snyder Grant
2dbef4e207 ICU-271 First-pass LMBCS support (Lotus Multi-byte Character set)
X-SVN-Rev: 1042
2000-03-31 16:53:09 +00:00
Markus Scherer
8226f554ca ICU-98 define POSIX INT64_MAX & INTMAX_MAX etc.
X-SVN-Rev: 1037
2000-03-30 21:30:21 +00:00
Markus Scherer
50eb0cfdf0 ICU-98 define and use POSIX INT32_MAX etc., matching int32_t etc.
X-SVN-Rev: 1032
2000-03-30 01:12:01 +00:00
Brendan Murray
dd70c2705e ICU-98 These are changes to support 64-bit platforms, such as Sun
SPARC V9, which is the only one tested so far.

X-SVN-Rev: 1022
2000-03-29 21:41:11 +00:00
Markus Scherer
eb3ba827c6 ICU-312 jitterbug 136: new UnicodeString memory allocation/aliasing implementation
X-SVN-Rev: 1012
2000-03-29 01:13:49 +00:00
Markus Scherer
6074e7bad6 ICU-338 minor 'glitches' found in OS/2 port
X-SVN-Rev: 987
2000-03-24 17:45:45 +00:00
Markus Scherer
b7bbdaebdb ICU-176 basic UTF-16 support in Unicode class, with inline functions
X-SVN-Rev: 984
2000-03-24 01:26:47 +00:00
Vladimir Weinstein
e5970bccc3 ICU-335 APIs are now marked for proper doc generation
X-SVN-Rev: 973
2000-03-22 18:31:40 +00:00
Markus Scherer
54921c0d79 ICU-84 S/390 and EBCDIC updates
X-SVN-Rev: 969
2000-03-21 20:37:32 +00:00
Helena Chapman
5862cf64ee ICU-313 Updated with the new API that takes the length of the source buffer.
X-SVN-Rev: 903
2000-03-07 01:42:40 +00:00
Markus Scherer
4d6a965002 ICU-176 initial, basic utf-16 support for c
X-SVN-Rev: 737
2000-02-09 19:42:15 +00:00
Markus Scherer
42e5acace0 ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
X-SVN-Rev: 734
2000-02-08 23:41:16 +00:00
Markus Scherer
7f7b2d90f3 ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
X-SVN-Rev: 721
2000-02-05 00:19:15 +00:00
Markus Scherer
e718d50df9 ICU-176 initial, basic utf-16 support for c
X-SVN-Rev: 715
2000-02-03 19:54:49 +00:00
Helena Chapman
9b3ed25de7 ICU-227 remove uversion.h, not used by anyone.
X-SVN-Rev: 703
2000-01-27 20:01:00 +00:00
Markus Scherer
fbd2e10db1 ICU-161 update (c) statement to 2000
X-SVN-Rev: 681
2000-01-24 20:40:43 +00:00
Markus Scherer
9ec6f2a492 ICU-42 fix API for aliases
X-SVN-Rev: 658
2000-01-20 00:33:18 +00:00
Markus Scherer
8ab661d242 ICU-201 add forward declarations before 'friend' statements
X-SVN-Rev: 633
2000-01-18 19:57:46 +00:00
Markus Scherer
ac3b02999d ICU-210 improve version functions
X-SVN-Rev: 590
2000-01-14 23:56:15 +00:00
Vladimir Weinstein
1d48c065af ICU-42 Added API for aliases
X-SVN-Rev: 587
2000-01-14 23:29:01 +00:00
Alan Liu
cc305ed674 ICU-221 remove isSpace, add @draft, optimize implementation a bit
X-SVN-Rev: 584
2000-01-14 18:23:02 +00:00
Markus Scherer
aeac763301 ICU-161 open-sourcify more (c) statements
X-SVN-Rev: 577
2000-01-13 23:54:23 +00:00
Helena Chapman
423580d732 ICU-84 Added OS390 fixes for 12/28 snapshot.
.

X-SVN-Rev: 570
2000-01-13 21:11:42 +00:00
Helena Chapman
6efc3436b6 ICU-210 changed UVersionInfo typedef.
X-SVN-Rev: 552
2000-01-12 20:20:38 +00:00
Helena Chapman
4c95546548 ICU-210 changed the u_getVersion APIs to use UVersionInfo.
X-SVN-Rev: 551
2000-01-12 19:50:27 +00:00
Markus Scherer
f1c7aedd05 ICU-84 more portable T_CString_itosOffset()
X-SVN-Rev: 549
2000-01-12 18:08:10 +00:00
Alan Liu
b06425886b ICU-221 add isWhitespace, isSpace
X-SVN-Rev: 546
2000-01-12 18:01:51 +00:00
Steven R. Loomis
d538fe9125 ICU-210 unicode\ -> unicode/
X-SVN-Rev: 538
2000-01-12 00:32:56 +00:00
Helena Chapman
218b24bba5 ICU-210 Three major changes:
u_getVersion: returns ICU release/version information
u_getUnicodeVersion: returns Unicode standard version supported in ICU
Renamed the original u_getVersion to u_getUnicodeVersion.

X-SVN-Rev: 536
2000-01-11 23:20:26 +00:00
Richard Gillam
016aa963f6 ICU-45 Initial check-in of RuleBasedBreakIterator and DictionaryBasedBreakIterator.
X-SVN-Rev: 502
2000-01-08 02:05:05 +00:00
Helena Chapman
62bfc59330 ICU-216 Added fixFileSeparator and isAmbiguous in UnicodeConverterCPP class and ucnv_xxx interface.
X-SVN-Rev: 497
2000-01-08 00:51:44 +00:00
Steven R. Loomis
8624681ac4 ICU-12 move platform.h.in, add a dummy platform.h in the old spot
X-SVN-Rev: 496
2000-01-06 20:16:57 +00:00
Vladimir Weinstein
8e21f86812 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 472
1999-12-28 23:39:02 +00:00