Commit Graph

733 Commits

Author SHA1 Message Date
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
Markus Scherer
7d721ba16c ICU-502 clean up 'unassigned' handling and callback calls
X-SVN-Rev: 1871
2000-07-13 23:55:33 +00:00
Alan Liu
d2afba2116 ICU-89 update to 3.0 composition exclusions
X-SVN-Rev: 1867
2000-07-13 22:12:48 +00:00
Steven R. Loomis
c596b24a8a ICU-393 .cvsignore cleanup
X-SVN-Rev: 1866
2000-07-13 22:04:24 +00:00
Vladimir Weinstein
4efa05993b ICU-103 fixed LMBCS to Unicode converter for platforms where UChar32 is signed
X-SVN-Rev: 1855
2000-07-13 18:32:49 +00:00
Vladimir Weinstein
3901ed6a57 ICU-489 warning fix - added uprv_strtol
X-SVN-Rev: 1850
2000-07-13 17:55:26 +00:00
Vladimir Weinstein
dda638684d ICU-103 removed duplicate typedef to make gcc happy
X-SVN-Rev: 1849
2000-07-13 16:51:48 +00:00
Vladimir Weinstein
dfc90542fe ICU-103 const casts to make gcc happier
X-SVN-Rev: 1848
2000-07-13 16:51:02 +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
b16a4f7ea8 ICU-500 corrected source pointer & errorBuffer for case of target running out on source char boundary
X-SVN-Rev: 1844
2000-07-13 15:33:16 +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
Jim Snyder Grant
219fd9599f ICU-499 corrected signed/unsigned behavior for itou() used
by ESCAPE callback.

X-SVN-Rev: 1842
2000-07-13 15:17:52 +00:00
Markus Scherer
be9f636bdb ICU-103 call callbacks with correct codeUnit pointers and codePoint values
X-SVN-Rev: 1835
2000-07-13 00:15:01 +00:00
Markus Scherer
80cd8d269b ICU-103 improve compliance of our callbacks with the new api, were buggy and still assume too much about UConverter
X-SVN-Rev: 1834
2000-07-13 00:14:10 +00:00
Markus Scherer
fc52220b90 ICU-103 need struct names for some structs for compatibility with forward declarations
X-SVN-Rev: 1833
2000-07-13 00:12:34 +00:00
Markus Scherer
ae02ead7fe ICU-103 add ucnvmbcs.h
X-SVN-Rev: 1832
2000-07-13 00:11:43 +00:00
Markus Scherer
69c2c7dabb ICU-103 load the new mbcs converter with format version 5
X-SVN-Rev: 1831
2000-07-13 00:11:11 +00:00
Markus Scherer
f0b6b788f2 ICU-103 replace the mbcs implementation by one that supports up to 4 bytes/char and full utf-16
X-SVN-Rev: 1830
2000-07-13 00:10:29 +00:00
Vladimir Weinstein
8349610248 ICU-432 more leak fixes
X-SVN-Rev: 1824
2000-07-12 22:59:57 +00:00
Alan Liu
09f92d4480 ICU-89 update normalizer data to Unicode 3.0
X-SVN-Rev: 1823
2000-07-12 22:02:37 +00:00
Yves Arrouye
b4e4f9d031 ICU-377 more changes to please the Mach linker.
X-SVN-Rev: 1805
2000-07-12 06:43:32 +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
55cc3f3d3f ICU-353 const char * please.
X-SVN-Rev: 1795
2000-07-11 22:44:35 +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
Yves Arrouye
05e119e889 ICU-377 U_RHAPSODY doesn't look very POSIX from our point of view.
X-SVN-Rev: 1792
2000-07-11 22:24:00 +00:00
Helena Chapman
ccede1e5b9 ICU-311 Major rewrite of the internal codepath to use the UConverterToUnicodeArgs and UConverterFromUnicodeArgs.
X-SVN-Rev: 1777
2000-07-10 20:51:54 +00:00
Vladimir Weinstein
4a043d3575 ICU-432 more memory leaks fixed
X-SVN-Rev: 1776
2000-07-10 20:43:34 +00:00
Madhu K
32e5cad58f ICU-447 Fixed TConverter_fromUnicode_XBCS to return the error value when only the lead surrogate character is present and flush=TRUE
X-SVN-Rev: 1759
2000-07-08 00:03:18 +00:00
Steven R. Loomis
73b342fb13 ICU-343 parse locales such as fr_FR.UTF8@EURO [codepage and locale variant must be considered]
X-SVN-Rev: 1754
2000-07-07 06:12:00 +00:00
Vladimir Weinstein
45515c9a0c ICU-432 more memory leaks fixes
X-SVN-Rev: 1750
2000-07-06 23:01:50 +00:00
Madhu K
d3a1a60f25 ICU-447 1361 is no longer the reference codepage. Modified it to take 1363.
X-SVN-Rev: 1744
2000-07-06 18:24:13 +00:00
Helena Chapman
11f8d10632 ICU-439 Updated locmap.cpp with the North Korea ISO country code.
X-SVN-Rev: 1741
2000-07-05 23:44:37 +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
2dd27cde6e ICU-377 Darwin doesn't have <langinfo.h> (even though the functions are
in the manual!) and thus shouldn't be marked POSIX.

X-SVN-Rev: 1730
2000-07-03 19:30: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
Markus Scherer
962dc91faa ICU-471 export ushape.h
X-SVN-Rev: 1721
2000-06-30 17:44:33 +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
8bc3f0b83b ICU-478 u_uastrncpy fix
X-SVN-Rev: 1694
2000-06-29 01:41:04 +00:00
Steven R. Loomis
d7b44985af ICU-311 updates for callback changes
X-SVN-Rev: 1687
2000-06-29 00:14:01 +00:00
Vladimir Weinstein
755f5d924c ICU-311 fixed crashing problem
X-SVN-Rev: 1684
2000-06-28 23:19:33 +00:00
Vladimir Weinstein
9b404b0904 ICU-311 fixed crashing problem
X-SVN-Rev: 1683
2000-06-28 23:19:32 +00:00
Vladimir Weinstein
d350a69251 ICU-311 changes to common w32 project
X-SVN-Rev: 1682
2000-06-28 22:49:33 +00:00
Vladimir Weinstein
497abfd708 ICU-460 Porting changes
X-SVN-Rev: 1678
2000-06-28 22:20:08 +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
1edec65b38 ICU-311 fixed to use the new callback APIs.
X-SVN-Rev: 1666
2000-06-28 19:29:49 +00:00
Jim Snyder Grant
b48c650b9a ICU-271 Adjustments to pass newest LMBCS tests
X-SVN-Rev: 1665
2000-06-28 17:08:21 +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
Jim Snyder Grant
5e09bfa7ed ICU-271 First functionally complete LMBCS converter
X-SVN-Rev: 1657
2000-06-27 19:31:01 +00:00
Vladimir Weinstein
18b6ac3369 ICU-432 fixing leaks
X-SVN-Rev: 1649
2000-06-26 22:46:15 +00:00
Madhu K
cdc7d9b910 ICU-176 Fixed an Error in move32()
X-SVN-Rev: 1635
2000-06-21 22:48:46 +00:00
Helena Chapman
8d12ca8e17 ICU-401 OS/400 specific changes for 1.5 release.
X-SVN-Rev: 1634
2000-06-20 23:42:20 +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
e8ef7da59a ICU-432 changes according to purify output
X-SVN-Rev: 1630
2000-06-15 22:32:39 +00:00
Vladimir Weinstein
f503d2fc52 ICU-436 resource bundle constructor should use default constructor instead of invariant one...
X-SVN-Rev: 1608
2000-06-12 22:44:15 +00:00
Markus Scherer
8703e9d817 ICU-221 exclude all no-break spaces from u_isWhitespace()
X-SVN-Rev: 1602
2000-06-12 19:48:05 +00:00
Alan Liu
d238badc53 ICU-363 document linkage to Normalizer
X-SVN-Rev: 1586
2000-06-08 21:11:32 +00:00
Steven R. Loomis
050da07c63 ICU-184 just some tabs and comment cleanup
X-SVN-Rev: 1584
2000-06-07 19:52:08 +00:00
Alan Liu
c82abd3807 ICU-184 remove rbcache[.cpp|.h] and rbread[.cpp|.h] from project file
X-SVN-Rev: 1582
2000-06-07 00:37:16 +00:00
Vladimir Weinstein
2e2f111d7c ICU-184 removed commented out APIs
X-SVN-Rev: 1578
2000-06-07 00:01:16 +00:00
Vladimir Weinstein
6e8bed3833 ICU-184 returning error code cleanup according to srls review
X-SVN-Rev: 1577
2000-06-07 00:00:00 +00:00
Vladimir Weinstein
245ce1ce74 ICU-184 unneeded files removed, and Makefile.in changed accordingly. common.dsp should be also changed
X-SVN-Rev: 1576
2000-06-06 23:57:37 +00:00
Markus Scherer
458d47f153 ICU-423 test correctly for combining marks (Mn, Mc, Me, not Lm)
X-SVN-Rev: 1568
2000-06-05 22:18:08 +00:00
Markus Scherer
9b33ab2734 ICU-421 detect correctly if there is a basename
X-SVN-Rev: 1564
2000-06-05 17:24:34 +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
Markus Scherer
ee39dd3f52 ICU-397 better u_versionToString() error checking
X-SVN-Rev: 1554
2000-06-02 18:37:54 +00:00
Steven R. Loomis
367e17b16a ICU-393 removing old files
X-SVN-Rev: 1545
2000-06-02 00:24:27 +00:00
Markus Scherer
84a56632ae ICU-418 fix latin-1 ucnv_getNextUChar() - zero-extend, not sign-extend, input byte
X-SVN-Rev: 1543
2000-06-02 00:05:22 +00:00
Steven R. Loomis
a441c8ef2c ICU-408 leak libraries on hpux, shl_unload is broken
X-SVN-Rev: 1522
2000-05-30 21:47:19 +00:00
Steven R. Loomis
561deb6ee6 ICU-408 HPUX returns 'C C C C C C' as the default locale, map to en_US like 'C'
X-SVN-Rev: 1518
2000-05-30 20:43:37 +00:00
Vladimir Weinstein
7db082375a ICU-184 error code when opening a non-existing default bundle fixed
X-SVN-Rev: 1517
2000-05-30 20:09:47 +00:00
Steven R. Loomis
4f8244bea2 ICU-408 hpux brokenness
X-SVN-Rev: 1515
2000-05-30 19:30:55 +00:00
Vladimir Weinstein
20c152a8a2 ICU-184 uresbund data handling fix (should have pointers to shared memory, but it didn't)
X-SVN-Rev: 1511
2000-05-30 17:02:26 +00:00
Steven R. Loomis
be1ead973f ICU-184 fix ResourceBundle::ResourceBundle(ResourceBundle&) copy c'tor
X-SVN-Rev: 1506
2000-05-26 18:58:00 +00:00
Vladimir Weinstein
d4fcf00c93 ICU-184 uint vs. int problem - better name for #define
X-SVN-Rev: 1501
2000-05-26 02:02:42 +00:00
Vladimir Weinstein
3010e6cfed ICU-184 uint vs. int problem.
X-SVN-Rev: 1497
2000-05-25 22:16:48 +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
Vladimir Weinstein
5bb7edefb6 ICU-406 win32 compiler warning
X-SVN-Rev: 1466
2000-05-24 20:33:09 +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
Helena Chapman
aab9c41ddc ICU-408 AIX 4.3.x port changes.
X-SVN-Rev: 1460
2000-05-24 19:21:39 +00:00
Steven R. Loomis
62640fec80 ICU-384 No // comments in C code!
X-SVN-Rev: 1446
2000-05-23 21:09:13 +00:00
Markus Scherer
aca0c53ac2 ICU-397 make u_versionFrom/ToString() public
X-SVN-Rev: 1437
2000-05-22 22:24:51 +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
Jim Snyder Grant
7f51cb674c ICU-384 Add locale-biasing support to LMBCS
X-SVN-Rev: 1433
2000-05-22 21:24:26 +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
Vladimir Weinstein
ca5cb935ca ICU-406 putting collation data in resource bundles (initial revision)
X-SVN-Rev: 1427
2000-05-22 19:50:23 +00:00
Alan Liu
87aa5a7c73 ICU-403 update docs
X-SVN-Rev: 1424
2000-05-20 04:42:59 +00:00
Alan Liu
358312cc1a ICU-352 add new Replaceable API
X-SVN-Rev: 1423
2000-05-20 04:41:12 +00:00
Markus Scherer
a511f10787 ICU-401 different ebcdic<->ascii tables for non-os/390 ebcdic platforms
X-SVN-Rev: 1418
2000-05-20 00:58:14 +00:00
Markus Scherer
43749d6ef2 ICU-43 correct SBCS conversion handling of (UChar)0 to (char)0
X-SVN-Rev: 1417
2000-05-20 00:17:47 +00:00
Helena Chapman
335e7a1731 ICU-394 Check NULL return in the default lookup table.
X-SVN-Rev: 1416
2000-05-19 17:19:07 +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
Steven R. Loomis
5dace15722 ICU-393 removing obsolete files
X-SVN-Rev: 1405
2000-05-18 20:17:16 +00:00
Steven R. Loomis
faa663d655 ICU-390 include "cmemory.h" to get uprv_memcpy() [yves]
X-SVN-Rev: 1404
2000-05-18 19:57:32 +00:00
Markus Scherer
b25467b64e ICU-107 remove temporary changes
X-SVN-Rev: 1392
2000-05-18 18:44:05 +00:00
Markus Scherer
9196955ed1 ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1391
2000-05-18 18:14:24 +00:00
Markus Scherer
bd85911750 ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1390
2000-05-18 18:08:49 +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
0e96538ad0 ICU-130 get (almost) all Unicode char properties from the loaded uprops.dat
X-SVN-Rev: 1387
2000-05-18 17:47:11 +00:00
Markus Scherer
4c2b7dfd0e ICU-221 move isWhitespace() implementation to C
X-SVN-Rev: 1386
2000-05-18 17:40:19 +00:00
Markus Scherer
0fa8946325 ICU-375 add temporary 390 changes back to udata, improve performance some
X-SVN-Rev: 1385
2000-05-18 17:37:33 +00:00
Steven R. Loomis
0a042c3f86 ICU-200 OS400 makefile updates
X-SVN-Rev: 1384
2000-05-15 22:32:11 +00:00
Yves Arrouye
e7739af606 ICU-390 added a real implementation for uprv_strdup().
X-SVN-Rev: 1382
2000-05-15 22:09:42 +00:00
Vladimir Weinstein
9c0d35a039 ICU-184 check for error conditions and NULL pointers in resb code
X-SVN-Rev: 1381
2000-05-15 21:13:33 +00:00
Vladimir Weinstein
5ac904073a ICU-184 .res files in mem map files
X-SVN-Rev: 1379
2000-05-15 20:36:57 +00:00
Markus Scherer
53f279b17e ICU-368 need to actually export the correct operator<< definition
X-SVN-Rev: 1374
2000-05-15 19:32:34 +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
Steven R. Loomis
b67cfb9fbe ICU-200 os400 build update (use $(LIBICU) instead of "libicu-" everywhere)
X-SVN-Rev: 1361
2000-05-13 00:13:15 +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
0d35fb05a2 ICU-390 define the right cpp symbols for compilation under Linux
and Solaris when gcc -ansi is used (which negates POSIX, X/Open, BSD, and
SVID specific definitions in the standard libraries, definitions that ICU
needs).

X-SVN-Rev: 1354
2000-05-12 01:15:50 +00:00
Yves Arrouye
38baf3e075 ICU-390 define __USE_POSIX and __USE_XOPEN before including
<time.h> if POSIX and LINUX are both defined.

X-SVN-Rev: 1352
2000-05-12 00:42:00 +00:00
Steven R. Loomis
f593b7b958 ICU-375 cleanup, made dll loading work anywhere dlopen() is detected
X-SVN-Rev: 1351
2000-05-11 23:23:49 +00:00