Commit Graph

67 Commits

Author SHA1 Message Date
Markus Scherer
98f9170004 ICU-20250 make UnicodeSet(intprop=value) faster
- fastpath for UnicodeSet.add(new last range)
- fewer UnicodeSet memory allocations:
  initial internal list array, exponential array growth,
  allocate strings list/set only when first one is added
- faster CodePointTrie.getRange(): fewer calls to filter function
- revert UnicodeSet(intprop=value) from trie ranges to range starts + lookup
- cache per-int-prop range starts: fewer lookups
2018-11-12 16:05:57 -08:00
Markus Scherer
82f0f480d4
ICU-20086 C++ sets & maps for Unicode properties (#93)
also create ucpmap.h from renamed parts of ucptrie.h
2018-09-27 14:27:39 -07:00
Markus Scherer
d2ec8987a7
ICU-8966 ICU-12850 add API/data/code for text layout properties InPC, InSC, vo (#92)
ICU-8966: Indic_Positional_Category & Indic_Syllabic_Category

ICU-12850: Vertical_Orientation
2018-09-27 14:27:39 -07:00
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup (#53)
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
2018-09-27 14:27:38 -07:00
Markus Scherer
fdbe2f371b ICU-13547 limit nesting depth of UnicodeSet pattern
X-SVN-Rev: 40979
2018-02-23 21:39:23 +00:00
Markus Scherer
8ccca58d0c ICU-12911 remove UBiDiProps except inside its .cpp file, and uprv_haveProperties()
X-SVN-Rev: 40923
2018-02-15 19:01:29 +00:00
Markus Scherer
fcb323c2e0 ICU-13158 change range check to catch NaN
X-SVN-Rev: 40341
2017-08-17 21:37:36 +00:00
Markus Scherer
a919ea14e1 ICU-6591 make ccc=x work for all integers 0..255
X-SVN-Rev: 40328
2017-08-11 23:42:02 +00:00
Markus Scherer
b1b4b2f443 ICU-13158 avoid undefined double->int cast for ccc=value, range check before cast
X-SVN-Rev: 40325
2017-08-11 18:54:53 +00:00
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Markus Scherer
0e4c0199ee ICU-12410 remove unused UCaseProps pointer from ucase_... functions
X-SVN-Rev: 39656
2017-02-09 21:50:20 +00:00
Andy Heninger
04448b004f ICU-12764 UTF-8 source files, update file encoding comments.
X-SVN-Rev: 39641
2017-02-03 18:57:23 +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
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
8f38199123 ICU-10365 fix namespace issue: icu::UInitOnce
X-SVN-Rev: 34252
2013-09-10 00:34:12 +00:00
Andy Heninger
8e9b5e0b7e ICU-10301 Remove singleton classes, convert existing usage to UInitOnce
X-SVN-Rev: 34032
2013-08-12 03:35:22 +00:00
Andy Heninger
ae87a3acc2 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK. All the directories this time.
X-SVN-Rev: 33788
2013-06-01 03:37:16 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Markus Scherer
2f70694e7f ICU-9013 deprecate API for Unicode 1.0 character names & ISO comments, remove support & data
X-SVN-Rev: 31125
2011-12-15 21:43:35 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Markus Scherer
514b12fb14 ICU-7792 fix some UCONFIG_NO_XYZ bugs
X-SVN-Rev: 28716
2010-09-28 05:43:34 +00:00
Markus Scherer
b5e1330176 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
X-SVN-Rev: 28661
2010-09-21 00:12:49 +00:00
Markus Scherer
82160e104c ICU-7736 add Normalizer2::getDecomposition(c)
X-SVN-Rev: 28161
2010-06-08 23:32:11 +00:00
Markus Scherer
0acda636e4 ICU-7722 build canonical-iterator data from nfc.nrm (port Java code to C++)
X-SVN-Rev: 28117
2010-06-01 06:10:26 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +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
Markus Scherer
8ddbd1394c ICU-7273 merge in Normalizer2 API & code, and ICU-5785 UnicodeSet::span(UnicodeString) and ICU-7296 tempSubString()/retainBetween(); merge -r 26971:27150 branches/markus/norm2
X-SVN-Rev: 27155
2010-01-06 23:50:03 +00:00
Markus Scherer
66b63f9c48 ICU-7084 Unicode 5.2: merge -r 26464:26890 branches/markus/uni52 into trunk, and a little cleanup (C++)
X-SVN-Rev: 26898
2009-11-13 19:25:21 +00:00
George Rhoten
8c56e56382 ICU-6076 Make it a little easier to detect initialization problems, and
improve initialization time.

X-SVN-Rev: 23442
2008-02-16 11:26:53 +00:00
George Rhoten
9ad6ca1462 ICU-6132 Verify UnicodeSet bogus state is handled without crashing
X-SVN-Rev: 23393
2008-02-08 03:39:40 +00:00
Markus Scherer
19446aeeba ICU-5585 fast, freezable UnicodeSet with span() with string support; svn merge -r 21018:22033 http://source.icu-project.org/repos/icu/icu/branches/markus/fastset and revert source/test/perf/unisetperf/draft/* and source/common/utrie.* and source/allinone/allinone.sln (experimental code)
X-SVN-Rev: 22053
2007-07-19 04:33:20 +00:00
George Rhoten
871ce36286 ICU-5305 Allow ICU to build when U_USING_ICU_NAMESPACE is 0
X-SVN-Rev: 21656
2007-06-07 00:41:21 +00:00
George Rhoten
c5406f3b0c ICU-5426 Fix compiler warnings from last check in.
X-SVN-Rev: 20483
2006-10-04 00:33:11 +00:00
George Rhoten
1c37b55ae0 ICU-5426 Reduce the amount of unused memory in caches by at least 500KB.
X-SVN-Rev: 20476
2006-10-03 17:41:23 +00:00
George Rhoten
fd3302b006 ICU-5426 Compact cached Unicodesets
X-SVN-Rev: 20461
2006-09-30 05:43:53 +00:00
George Rhoten
8064b4876b ICU-5426 Report memory allocation errors when possible, and reduce default UVector size.
X-SVN-Rev: 20452
2006-09-29 21:36:59 +00:00
George Rhoten
1658151152 ICU-5349 Don't use mutex.h when umutex.h also works.
X-SVN-Rev: 20264
2006-09-08 03:35:35 +00:00
George Rhoten
dbc0d1d9ee ICU-5349 Use UMTX_CHECK for double check locking.
X-SVN-Rev: 20176
2006-08-29 04:57:05 +00:00
George Rhoten
35c4c75f13 ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19383
2006-03-20 07:53:07 +00:00
George Rhoten
5dee33ea3e ICU-4707 Fix some compiler warnings about unused variables.
X-SVN-Rev: 19118
2006-02-09 08:59:20 +00:00
George Rhoten
bc57e25023 ICU-5008 Don't use @internal API.
X-SVN-Rev: 19055
2006-02-02 04:37:15 +00:00
Markus Scherer
19593be775 ICU-4268 don't need USetAdder.remove(), initialize to NULL
X-SVN-Rev: 17846
2005-06-09 17:47:18 +00:00
Markus Scherer
e6a0df52ee ICU-4199 enum/name API support for C/POSIX character classes, and UnicodeSet support for [:Assigned:]
X-SVN-Rev: 17730
2005-05-28 22:54:36 +00:00
Markus Scherer
cfa2ddc411 ICU-4497 add const to use of UCaseProps singleton
X-SVN-Rev: 17515
2005-04-28 21:54:57 +00:00