Commit Graph

488 Commits

Author SHA1 Message Date
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