Steven R. Loomis
89765009b4
ICU-13001 warning cleanup
...
- remove some dead code
- fix some warnings that show up when services, regex are turned off
- change some macros into inline functions to quell parenthesis complaints (ucnv_u16.cpp)
X-SVN-Rev: 40442
2017-09-21 19:43:28 +00:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +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
Travis Keep
d0c5712ce4
ICU-10638 Fix collator:;getKeywordsXXX functions so that they never leak memory.
...
X-SVN-Rev: 36834
2014-12-09 23:08:31 +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
Tom Zhang
ee1f29b584
ICU-7653 move LENGTHOF(array) to common, internal header
...
X-SVN-Rev: 36265
2014-08-28 14:55:34 +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
Markus Scherer
9bc6f268fb
ICU-10998 collation reorder others=Zzzz, recognize only others = reset
...
X-SVN-Rev: 36017
2014-07-09 22:53:09 +00:00
Markus Scherer
b3cb5dcc86
ICU-8260 bug fixes
...
X-SVN-Rev: 35766
2014-05-28 23:03:52 +00:00
Markus Scherer
da533923a2
ICU-8260 support all collation-related keywords in Collator::createInstance()
...
X-SVN-Rev: 35762
2014-05-27 18:50:10 +00:00
Markus Scherer
e977c057a9
ICU-9101 merge branches/markus/collv2@35225 into the trunk
...
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Steven R. Loomis
86c481026c
ICU-10373 fix -DU_USING_ICU_NAMESPACE=0 issues
...
X-SVN-Rev: 34251
2013-09-10 00:13:41 +00:00
Andy Heninger
978f71fe78
ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
...
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Markus Scherer
ca65e1c41e
ICU-9460 deprecate Collator::safeClone() and default-implement it in the base class
...
X-SVN-Rev: 32127
2012-08-08 21:03:52 +00:00
Markus Scherer
77b4e42b8d
ICU-9346 remove U_EXPORT2 from .cpp where they are gone from .h, should fix Windows build
...
X-SVN-Rev: 32106
2012-08-03 23:12:28 +00:00
Markus Scherer
da6c36d287
ICU-9346 C++ Collator API cleanup, fix safeClone() bug (setRuleStringFromCollator() on the result), fix polymorphic operator==(), move some method implementations into the base class
...
X-SVN-Rev: 32100
2012-08-03 21:49:28 +00:00
Steven R. Loomis
f0eb1ff995
ICU-8157 remove U_EXPORT2 and add ifdef no internal
...
X-SVN-Rev: 31444
2012-02-19 09:14:56 +00:00
Steven R. Loomis
5824cdd742
ICU-8157 commit from branch
...
X-SVN-Rev: 31439
2012-02-19 06:39:16 +00:00
Steven R. Loomis
eec528c85f
ICU-8157 commit from branch
...
X-SVN-Rev: 31434
2012-02-18 23:10:51 +00:00
Markus Scherer
2862296471
ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
...
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
1beb0f1e4f
ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
...
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Stuart Gill
0f8827be69
ICU-8295 fix compiler warning in C++ collator reordering API
...
X-SVN-Rev: 30005
2011-05-04 00:06:12 +00:00
Stuart Gill
b3ba6c0bf3
ICU-8295 API for collation reordering
...
X-SVN-Rev: 29671
2011-03-18 22:52:30 +00:00
Steven R. Loomis
45dcb95f0b
ICU-3984 revert U_EXPORT2 changes in r29003 back to r28999 - see http://userguide.icu-project.org/dev/codingguidelines
...
X-SVN-Rev: 29005
2010-11-05 19:08:45 +00:00
Steven R. Loomis
6a5f83ff80
ICU-3984 fix mismatched const int in r28999
...
X-SVN-Rev: 29003
2010-11-04 22:36:25 +00:00
Stuart Gill
b1a76e6a88
ICU-3984 updates based on code review and fix of memory leak during collation reordering rule parsing
...
X-SVN-Rev: 28999
2010-11-04 20:12:39 +00:00
Stuart Gill
94239208a0
ICU-3984 fix a bug in the resource loading of collation reordering and rename script reordering to reordering codes
...
X-SVN-Rev: 28993
2010-11-03 02:41:22 +00:00
Stuart Gill
0c21fdf068
ICU-3984 changes to the collation reordering - API works same as rules and enhanced testing
...
X-SVN-Rev: 28960
2010-10-30 00:42:12 +00:00
Stuart Gill
d8e214d7d7
ICU-3984 Fix Windows build issues
...
X-SVN-Rev: 28946
2010-10-28 20:28:40 +00:00
Stuart Gill
110e2ceb05
ICU-3984 integrate collation reordering from branch - svn+ssh://source.icu-project.org/repos/icu/icu/branches/sgill/scriptreorder2 -r 28883:28924
...
X-SVN-Rev: 28926
2010-10-27 18:02:52 +00:00
Markus Scherer
f6a04770ff
ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
...
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Michael Ow
b4853d0331
ICU-7222 Remove Windows x64 warnings by casting explicitly.
...
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Andy Heninger
c89045b0d6
ICU-6799 swat compiler warnings
...
X-SVN-Rev: 25661
2009-03-27 00:37:55 +00:00
Markus Scherer
ab81668cd3
ICU-6729 add Collator::compare(UCharIterator) and Collator::compareUTF8(StringPiece)
...
X-SVN-Rev: 25585
2009-03-13 23:38:43 +00:00
Yoshito Umaoka
0d0f1dce49
ICU-3378 Checking in API headers for getKeywordValuesForLocale with empty implementation for 4.2M3.
...
X-SVN-Rev: 25407
2009-02-14 02:32:41 +00:00
Andy Heninger
0c2a587a9c
ICU-6480 clean up UMTX_CHECK usage in lazy init
...
X-SVN-Rev: 24439
2008-08-05 00:09:13 +00:00
Michael Ow
c504eafdc8
ICU-5955 Add freeOffsetBuffer function to make sure that previously allocated offsetBuffer is freed to avoid memory leaks. Add deleter method in ssearch.cpp to remove hashtable objects. Delete various objects in intltest after it is no longer needed.
...
X-SVN-Rev: 24129
2008-06-09 21:18:46 +00:00
George Rhoten
de6512a9c1
ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
...
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
97a208abfe
ICU-6132 Check for null pointer in clone() before dereferencing.
...
X-SVN-Rev: 23190
2008-01-09 17:30:59 +00:00
George Rhoten
82b85fb45c
ICU-6118 Remove the @internal functions ucol_collatorToIdentifier, ucol_openFromIdentifier, ucol_identifierToShortString and ucol_shortStringToIdentifier (not used by original customer and their data is out of date).
...
Remove some references to unused internal header references.
Make some functions library private.
X-SVN-Rev: 23177
2008-01-05 01:27:56 +00:00
George Rhoten
344e2283d7
ICU-6076 Prevent a double mutex lock when the following happens.
...
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.
This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.
X-SVN-Rev: 23104
2007-12-18 01:19:16 +00:00
Eric Mader
a3b08a4e2b
ICU-5808 fixes for uconfigtest.
...
X-SVN-Rev: 22349
2007-08-10 23:31:48 +00:00
George Rhoten
ef584abc21
ICU-5440 Return the correct list of supported locales for collation.
...
X-SVN-Rev: 20484
2006-10-04 06:05:30 +00:00
George Rhoten
fdf9a9dbc2
ICU-5349 Use UMTX_CHECK when it's helpful.
...
X-SVN-Rev: 20271
2006-09-08 04:10:40 +00:00
George Rhoten
4cc82b4180
ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
...
X-SVN-Rev: 20242
2006-09-04 16:36:21 +00:00
Eric Mader
f57c82a12d
ICU-4428 update copyright notices for ICU 3.3.
...
X-SVN-Rev: 17348
2005-03-16 18:46:54 +00:00
George Rhoten
f9baa59b7b
ICU-4189 Fix for UCONFIG_NO_CONVERSION
...
X-SVN-Rev: 17308
2005-03-09 23:50:26 +00:00