Commit Graph

5485 Commits

Author SHA1 Message Date
Andy Heninger
ea726432cb ICU-11538 Remove gHeapInUse flag.
X-SVN-Rev: 37119
2015-03-04 00:30:38 +00:00
Andy Heninger
1c9d614184 ICU-11547 Locale::getBaseName(), remove lazy init, fixes thread safety problem.
X-SVN-Rev: 37117
2015-03-03 23:50:43 +00:00
Jungshik Shin
4dadadf10e ICU-11421 Fix the baseName of locales created with getAvailableLocales()
X-SVN-Rev: 37115
2015-03-03 21:59:25 +00:00
Peter Edberg
0e1cf69814 ICU-11549 Fix ClCompile element in common.vcxproj
X-SVN-Rev: 37111
2015-03-03 19:34:45 +00:00
Peter Edberg
944392834b ICU-11549 Add C wrapper for ListFormatter
X-SVN-Rev: 37110
2015-03-03 19:00:52 +00:00
Peter Edberg
e299099b4d ICU-9379 C: Fix potential uninitialized string in strcmp
X-SVN-Rev: 37108
2015-03-02 08:17:54 +00:00
Andy Heninger
fb24cef93d ICU-11538 Remove gHeapInUse flag.
X-SVN-Rev: 37097
2015-02-27 23:01:33 +00:00
Andy Heninger
f2c54ff494 ICU-11559 Remove obsolete comment from umtx_initImplPostInit()
X-SVN-Rev: 37094
2015-02-27 18:58:11 +00:00
Markus Scherer
7f6179f106 ICU-11535 make tests pass with only warnings when UCONFIG_ONLY_HTML_CONVERSION
X-SVN-Rev: 37088
2015-02-27 02:24:05 +00:00
Michael Ow
1557ed47f6 ICU-11451 Fix potential overflow issue
X-SVN-Rev: 37080
2015-02-26 20:01:06 +00:00
Yoshito Umaoka
ebe09a9e69 ICU-11294 Changed SimpleDateFormat and other implementation to reduce malloc calls for common date formatting/parsing operations.
X-SVN-Rev: 37064
2015-02-25 03:24:19 +00:00
Peter Edberg
43f62124cd ICU-9379 C: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37059
2015-02-24 22:37:10 +00:00
Markus Scherer
8e6898ae3d ICU-11296 based on patch from Jungshik, approved option name UCONFIG_ONLY_HTML_CONVERSION, turn off UTF-32, simplify changes, fix warnings
X-SVN-Rev: 37045
2015-02-20 19:31:33 +00:00
Andy Heninger
ec3f77f878 ICU-5312 Regular Expressions Named Capture.
X-SVN-Rev: 37040
2015-02-18 23:56:19 +00:00
Yoshito Umaoka
bc68cc5b15 ICU-11177 Fixed a potential memory leak in setParaRunsOnly() in ubidi.c
X-SVN-Rev: 36929
2015-01-07 21:32:52 +00:00
Markus Scherer
a9d7c3e4bd ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36924
2015-01-07 03:37:11 +00:00
Andy Heninger
b3c29ef95e ICU-11428 Various compiler warning fixes.
X-SVN-Rev: 36903
2014-12-19 23:41:18 +00:00
Peter Edberg
5239b60d43 ICU-11313 Update U_HIDE_ macros (and U_DEPRECATED tags) for 55.0.1 (m1)
X-SVN-Rev: 36868
2014-12-15 00:42:34 +00:00
Peter Edberg
9855e4ef5f ICU-11313 Update urename.h for 55.0.1 (m1)
X-SVN-Rev: 36867
2014-12-14 22:33:46 +00:00
Steven R. Loomis
28c0981d76 ICU-11389 (respond to review comments) fix low memory crasher in Region.
Also add LocalUHashtablePointer.

X-SVN-Rev: 36860
2014-12-11 18:25:13 +00:00
Markus Scherer
030eff56d3 ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to ucol_mergeSortkeys() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
X-SVN-Rev: 36856
2014-12-11 17:04:32 +00:00
Travis Keep
8addf97f7d ICU-10638 Add factory method to create a UStringEnumeration from UEnumeration.
X-SVN-Rev: 36841
2014-12-10 17:02:02 +00:00
Steven R. Loomis
7e6c572256 ICU-10774 fix a knownissue: Collator::getAvailableLocales calculation.
Also, replace uhash_nextElement's parameter "-1" with UHASH_FIRST for clarity.
Also, improve service registration debugging code

X-SVN-Rev: 36836
2014-12-09 23:54:56 +00:00
Travis Keep
79964e6bc7 ICU-11303 Bring MeasureFormat per unit formatting out of tech preview.
X-SVN-Rev: 36813
2014-12-05 20:52:28 +00:00
Markus Scherer
326e9592dc ICU-10823 add ures_openNoDefault() and use it from collation data loader and BreakIterator; refactor ures_openXyz() for code sharing
X-SVN-Rev: 36806
2014-12-04 21:11:26 +00:00
Andy Heninger
63758dca88 ICU-11371 Improved checking of regular expression pattern size limits.
X-SVN-Rev: 36801
2014-12-02 21:58:18 +00:00
Yoshito Umaoka
605d7dd578 ICU-11216 Removed language code 'wen' from the LCID mapping table. MS uses 'hsb' (and 'dsb') in the latest LCID reference document, but 'wen' is not used.
X-SVN-Rev: 36770
2014-11-21 23:53:20 +00:00
Markus Scherer
9edbbecb24 ICU-11339 add & use LocalPointer(p, errorCode) and adoptInsteadAndCheckErrorCode(p, errorCode)
X-SVN-Rev: 36757
2014-11-20 00:27:17 +00:00
Markus Scherer
cff2dce3f5 ICU-8477 deprecate IDNA2003 API
X-SVN-Rev: 36755
2014-11-19 21:47:40 +00:00
Markus Scherer
c6fe872157 ICU-11336 recombine stack buffer arrays; one int16_t for short length & flags
X-SVN-Rev: 36754
2014-11-19 21:17:24 +00:00
Travis Keep
9dafb86e93 ICU-10275 Remove fallback hack in C ListFormatter class.
X-SVN-Rev: 36748
2014-11-18 19:20:57 +00:00
Michael Ow
b2d2691724 ICU-11313 Update version number to 55.0.1
X-SVN-Rev: 36648
2014-10-07 17:02:19 +00:00
Matitiahu Allouche
eb6fad83c9 ICU-11100 fix crash happening when there are many nested matching parentheses occurring in more than one paragraph.
Also change terminology from xxx_SIZE to xxx_COUNT to pursue change started in ticket #11054.

X-SVN-Rev: 36557
2014-09-21 06:38:01 +00:00
Steven R. Loomis
0a8466fd4c ICU-10992 urename.h update
X-SVN-Rev: 36544
2014-09-17 00:41:14 +00:00
Michael Ow
3a935bea9f ICU-10992 Fix cleanup function registration
X-SVN-Rev: 36528
2014-09-16 19:04:05 +00:00
Peter Edberg
2beaf3dacf ICU-10992 BRS line 20, Check/fix non-stable API macros (U_HIDE_DRAFT_API and others)
X-SVN-Rev: 36520
2014-09-16 08:09:06 +00:00
Steven R. Loomis
58f8e44c7d ICU-10981 round of uconfig.h fixes
X-SVN-Rev: 36491
2014-09-13 00:53:06 +00:00
Markus Scherer
a3df75f151 ICU-11258 adjust dependencies, pull charstr & unistr_core into the platform group, fix some code
X-SVN-Rev: 36485
2014-09-12 00:11:47 +00:00
Steven R. Loomis
174485b702 ICU-10881 uloc.cpp warning still wasn't fixed. fixing here.
X-SVN-Rev: 36482
2014-09-11 22:40:36 +00:00
Yoshito Umaoka
1607eb7116 ICU-8951 Fixed a namespace problem.
X-SVN-Rev: 36462
2014-09-11 15:51:10 +00:00
Markus Scherer
459c88cc14 ICU-11129 simplify string buffer handling
X-SVN-Rev: 36461
2014-09-11 15:34:38 +00:00
John Emmons
4d47dd3226 ICU-11092 Split out units data into a separate tree
X-SVN-Rev: 36458
2014-09-11 10:16:22 +00:00
Yoshito Umaoka
02939804a5 ICU-11240 ICU4C 54 API status promotion.
X-SVN-Rev: 36454
2014-09-11 06:16:13 +00:00
Yoshito Umaoka
9bdc7d3e1c ICU-8951 Changes based on Markus's review comment. Fixed an EBCDIC support problem.
X-SVN-Rev: 36450
2014-09-11 05:51:15 +00:00
Steven R. Loomis
4345b76644 ICU-10881 merge from branch - conservative fixes to some warnings
X-SVN-Rev: 36449
2014-09-11 05:25:13 +00:00
Michael Ow
62c4c3530d ICU-10551 Update test to check non-ignorable code points and fix comments
X-SVN-Rev: 36443
2014-09-10 23:23:56 +00:00
Travis Keep
c794caf7d4 ICU-10999 Add per unit measure formatting.
X-SVN-Rev: 36441
2014-09-10 20:06:52 +00:00
Scott Russell
2411d1606b ICU-10992 BRS: ensure correct line-endings and svn property
X-SVN-Rev: 36434
2014-09-10 18:29:54 +00:00
Peter Edberg
d87c86274c ICU-10326 Add dictionary-based word/line break for Burmese/Myanmar
X-SVN-Rev: 36397
2014-09-08 22:16:21 +00:00
Andy Heninger
49435e183f ICU-10886 C BreakIterator, clarify starting index of iteration is zero
X-SVN-Rev: 36390
2014-09-08 17:42:57 +00:00
Andy Heninger
9a82d60b1a ICU-10886 C BreakIterator, clarify starting index of iteration is zero
X-SVN-Rev: 36389
2014-09-08 17:36:46 +00:00
Markus Scherer
4174db0520 ICU-9644 bug fix
X-SVN-Rev: 36385
2014-09-08 03:26:40 +00:00
Markus Scherer
0f78abc7ee ICU-9644 re-hardcode some normalization data: nfc.nrm
X-SVN-Rev: 36384
2014-09-08 03:05:56 +00:00
Andy Heninger
9a2a9bea34 ICU-11036 RBBI, check data header when opening.
X-SVN-Rev: 36366
2014-09-05 21:23:48 +00:00
Yoshito Umaoka
03a9132d92 ICU-10993 ICU4C version number to 54.1.
X-SVN-Rev: 36357
2014-09-05 14:15:25 +00:00
Andy Heninger
b8935501f7 ICU-10904 Deprecate unused error U_REGEX_OCTAL_TOO_BIG.
X-SVN-Rev: 36349
2014-09-04 21:37:24 +00:00
Andy Heninger
528f72ad79 ICU-11082 Fix typo in RBBIRuleScanner::error()
X-SVN-Rev: 36348
2014-09-04 21:15:14 +00:00
Andy Heninger
f626431e29 ICU-11233 Remove U_FINAL for classes we subclass. Produces bad code.
X-SVN-Rev: 36346
2014-09-04 18:58:17 +00:00
Andy Heninger
746aadf44a ICU-10942 Time Zone data loading, merge from branch.
X-SVN-Rev: 36342
2014-09-04 01:07:38 +00:00
Yoshito Umaoka
15962facca ICU-8951 Fix for a build error on Mac.
X-SVN-Rev: 36326
2014-09-03 14:16:17 +00:00
Yoshito Umaoka
8885f1ef78 ICU-8951 BCP 47 key/type converter APIs merged from the work branch.
X-SVN-Rev: 36320
2014-09-03 04:42:21 +00:00
Yoshito Umaoka
23c9cdafbc ICU-11054 Fixed ubidi_setPara crash issue caused by wrong memory allocation size check. Added a simple test case which reproduced the problem.
X-SVN-Rev: 36304
2014-09-02 18:41:21 +00:00
Markus Scherer
f81a01e01b ICU-10883 UTS 46 toUnicode set error for empty label including just xn--
X-SVN-Rev: 36297
2014-08-29 23:07:42 +00:00
Markus Scherer
b6b33e5481 ICU-10608 document udata alignment requirements
X-SVN-Rev: 36295
2014-08-29 22:03:20 +00:00
Markus Scherer
b422082fab ICU-10889 test & fix u_charFromName(U_EXTENDED_CHAR_NAME) underflow crash
X-SVN-Rev: 36293
2014-08-29 21:31:07 +00:00
Markus Scherer
6860fda7cd ICU-10946 clarify uscript_getName() & uscript_getShortName()
X-SVN-Rev: 36292
2014-08-29 20:14:00 +00:00
Markus Scherer
822f228b1a ICU-10751 try to fix Windows build, apparently still not on C99
X-SVN-Rev: 36282
2014-08-29 03:41:29 +00:00
Markus Scherer
e353b8e897 ICU-10751 uscript_getCode(locale) use likely subtags not LocaleScript locale data
X-SVN-Rev: 36280
2014-08-28 23:51:38 +00:00
Markus Scherer
8f69b6c53d ICU-7653 change a few straggler LENGTHOFs
X-SVN-Rev: 36277
2014-08-28 23:20:12 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Markus Scherer
53dcbe6141 ICU-10736 Locale.isRightToLeft(), uloc_isRightToLeft(locale)
X-SVN-Rev: 36269
2014-08-28 18:28:30 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Markus Scherer
16527bddbb ICU-10435 deprecate collation TAILORINGS_VERSION
X-SVN-Rev: 36254
2014-08-27 22:18:28 +00:00
Markus Scherer
725657cd3d ICU-10477 drop already-marginal support for ULOC_REQUESTED_LOCALE
X-SVN-Rev: 36252
2014-08-27 21:27:37 +00:00
Travis Keep
9c4a5db353 ICU-11075 Remove dead code including LRUCache and tests and sharedptr.h
X-SVN-Rev: 36226
2014-08-21 21:02:57 +00:00
Travis Keep
6f9dd8c75a ICU-10802 ifdef away unified cache diagnostic code that uses stdio.h.
X-SVN-Rev: 36225
2014-08-21 17:16:46 +00:00
Markus Scherer
00558af374 ICU-11074 update script metadata: Common=Zyyy -> Recommended, CldrBug:7827
X-SVN-Rev: 36223
2014-08-21 16:37:22 +00:00
Markus Scherer
cd3d93b5e6 ICU-11030 clarify USetSpanCondition
X-SVN-Rev: 36221
2014-08-21 00:53:31 +00:00
Travis Keep
77bd7a5153 ICU-10802 Try to fix broken build.
X-SVN-Rev: 36220
2014-08-21 00:19:54 +00:00
Markus Scherer
a1c5d5372b ICU-11059 DUPLOYAN_SHORTAND -> DUPLOYAN
X-SVN-Rev: 36219
2014-08-21 00:16:17 +00:00
Travis Keep
c78f2c0def ICU-10802 Attempt to fix broken build.
X-SVN-Rev: 36216
2014-08-20 23:48:49 +00:00
Travis Keep
d9af7aa3db ICU-10802 Attempt to fix broken build.
X-SVN-Rev: 36215
2014-08-20 23:19:14 +00:00
Travis Keep
f335b55bdf ICU-10802 Merge branch tkeep/10802andy into trunk.
X-SVN-Rev: 36214
2014-08-20 21:46:02 +00:00
Michael Ow
9a4ae3b440 ICU-10551 Make ICU converter callbacks ignore default ignorable code points
X-SVN-Rev: 36199
2014-08-18 21:26:34 +00:00
Steven R. Loomis
12a1765e44 ICU-11045 fix for glibc assumption
X-SVN-Rev: 36178
2014-08-16 01:50:06 +00:00
Steven R. Loomis
e3dc3bc456 ICU-10347 add U_FINAL and U_OVERRIDE for C++11 "final" and "override".
Added them to several "not for subclassing" classes.
Some exceptions:
* Commented out U_FINAL where there's an internal override needed.
* For tests, added "#define U_FINAL" at the top to disable this.
#defined to null for Doxygen.

X-SVN-Rev: 36177
2014-08-16 01:30:43 +00:00
Steven R. Loomis
0a429569ff ICU-9063 improve docs around ucnv_getMinCharSize and ucnv_getMaxCharSize to reflect that they are in code points and UChar code units, respectively.
X-SVN-Rev: 36174
2014-08-15 17:55:30 +00:00
Andy Heninger
bbefa308aa ICU-11051 Add synchronization to u_getDataDirectory().
X-SVN-Rev: 36165
2014-08-14 20:34:06 +00:00
Yoshito Umaoka
a16ab10f50 ICU-11061 Import full bcp47 keys/types from CLDR. This change is corresponding to cldrbug:7249
X-SVN-Rev: 36151
2014-08-12 23:14:06 +00:00
Andy Heninger
96835f80a5 ICU-10948 Condition Variables, merged from development branch.
X-SVN-Rev: 36101
2014-07-29 23:18:47 +00:00
Andy Heninger
32925a6a3b ICU-11003 Clean up gcc compiler warnings introduced with previous commit for this ticket.
X-SVN-Rev: 36051
2014-07-17 21:06:09 +00:00
Andy Heninger
642d37eb0f ICU-11003 Delete cmutex.h; change files using it to from plain C to C++.
X-SVN-Rev: 36050
2014-07-17 20:16:27 +00:00
Andy Heninger
47a28993e7 ICU-11001 STRING_HASH changed to use uint32_t in computation.
X-SVN-Rev: 36016
2014-07-09 22:02:52 +00:00
Markus Scherer
2e958e2bab ICU-8082 private collation type: do not build binary and do not list as an available keyword value
X-SVN-Rev: 36011
2014-07-08 17:44:53 +00:00
Steven R. Loomis
68b3eed7cb ICU-10990 remove STL deps from FilteredBreakIterator implementation
X-SVN-Rev: 36008
2014-07-08 00:30:21 +00:00
Andy Heninger
719e780320 ICU-10903 u_strToUTF8WithSub(), API docs misleading regarding error status setting.
X-SVN-Rev: 35991
2014-07-02 23:46:10 +00:00
Andy Heninger
4812b221aa ICU-10976 Remove C++ null reference checks; they're undefined behavior.
X-SVN-Rev: 35987
2014-07-02 20:57:26 +00:00
Andy Heninger
03e1202db7 ICU-10983 Add failure checks to utext_clone().
X-SVN-Rev: 35986
2014-07-02 20:31:42 +00:00
Steven R. Loomis
fba912e1ec ICU-10842 update urename and fix an unrenamed class
X-SVN-Rev: 35973
2014-07-01 16:16:59 +00:00
Andy Heninger
ac70eab7a3 ICU-8550 Remove unused #include. This is a review comment fix.
X-SVN-Rev: 35965
2014-06-27 22:47:21 +00:00