Commit Graph

97 Commits

Author SHA1 Message Date
Steven R. Loomis
39f7040439 ICU-11886 unsafe-backward set, review comments
. remove #if 0's and stray comments
. cleanup UnicodeSet docs (deserialize does not freeze)
. remove dead code in collationdatareader.cpp

X-SVN-Rev: 37960
2015-09-15 21:42:56 +00:00
Steven R. Loomis
94fe10c710 ICU-11886 Speed up ucol_open by 21%
* implement a deserialize constructor for UnicodeSet
 * add test cases for same
* add a generator (`gencolusb`) which can build `source/i18n/collunsafe.h`
* Note that for bootstrapping `collunsafe.h` can be truncated (zero length).

X-SVN-Rev: 37929
2015-09-10 01:39:06 +00:00
Markus Scherer
bc31ae8173 ICU-9662 add & test & use U8_GET_OR_FFFD(), U8_NEXT_OR_FFFD(), U8_PREV_OR_FFFD()
X-SVN-Rev: 32796
2012-11-11 06:14:18 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Markus Scherer
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +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
Michael Ow
b4853d0331 ICU-7222 Remove Windows x64 warnings by casting explicitly.
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Claire Ho
81ac0f67a6 ICU-6356 Fixed the coredump for c tests running without data files.
X-SVN-Rev: 24211
2008-06-17 22:27:18 +00:00
George Rhoten
9026aecf79 ICU-6076 Test string addition failures.
X-SVN-Rev: 23449
2008-02-17 09:16:12 +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
Michael Ow
2ed2733b76 ICU-6132 Add bogus state to UnicodeSet to indicate such errors as memory allocation error.
X-SVN-Rev: 23287
2008-01-22 17:46:22 +00:00
George Rhoten
1725c5899a ICU-6076 Fix some allocation issues.
X-SVN-Rev: 23087
2007-12-14 10:17:12 +00:00
George Rhoten
6112b5685d ICU-6076 Fix some realloc issues.
X-SVN-Rev: 23086
2007-12-14 09:23:07 +00:00
Andy Heninger
67e296e813 ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
George Rhoten
397ffe6f76 ICU-5445 operator= does not have a check for the source and destination
addresses being non-identical

X-SVN-Rev: 22136
2007-07-25 03:58:02 +00:00
George Rhoten
b025efb767 ICU-5445 Undo my last change.
X-SVN-Rev: 22125
2007-07-24 18:08:22 +00:00
George Rhoten
b5e9f17cdd ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22120
2007-07-24 08:30:41 +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
c3f935855f ICU-5745 Improve performance of translit/TransliteratorTest/TestInstantiation
X-SVN-Rev: 21757
2007-06-15 23:32:12 +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
31120cdfc4 ICU-5426 Fix last check-in. Handle the case when malloc fails.
X-SVN-Rev: 20478
2006-10-03 19:11:36 +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
7929f274ba ICU-5426 Improve compaction.
X-SVN-Rev: 20459
2006-09-29 23:56:11 +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
35c4c75f13 ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19383
2006-03-20 07:53:07 +00:00
George Rhoten
5099f3d680 ICU-739 Palm OS compiler has some issues with shared libraries and exported data (non-functions).
X-SVN-Rev: 17297
2005-03-08 23:05:38 +00:00
Andy Heninger
526617139e ICU-4055 fixed bad comment on UnicodeSet::size()
X-SVN-Rev: 16755
2004-11-04 22:05:00 +00:00
George Rhoten
e69fca9d5f ICU-4078 Fix for AIX with Visual Age 5 compiler, and make sure that the
disentanglement is correct by putting all the UnicodeSet virtual functions are
in one file. Also move some of the rule whitespace handling into better
locations.

X-SVN-Rev: 16519
2004-10-15 22:56:26 +00:00
Andy Heninger
8e505af9bb ICU-4055 fixed bad comment, test to verify behavior.
X-SVN-Rev: 16321
2004-09-14 17:31:54 +00:00
Markus Scherer
53e086dc9a ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16193
2004-08-26 22:51:40 +00:00
George Rhoten
254eea3c6e ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16182
2004-08-24 17:21:14 +00:00
Vladimir Weinstein
cce68a9b45 ICU-2758 allow usage of lccc and tccc in unicode sets
X-SVN-Rev: 15659
2004-06-01 22:09:56 +00:00
Alan Liu
dfaf3b1d70 ICU-3795 do default conversion, not invariant conversion
X-SVN-Rev: 15651
2004-06-01 17:31:17 +00:00
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
Alan Liu
a94131a45f ICU-3400 make UnicodeSet::toPattern() prefer [ab] over [a-b]
X-SVN-Rev: 14562
2004-02-21 04:18:16 +00:00
George Rhoten
1298067225 ICU-3222 Fix some compiler warnings
X-SVN-Rev: 14100
2003-12-11 18:20:00 +00:00
George Rhoten
e4df57a0ed ICU-2962 Fix a possible EBCDIC issue.
X-SVN-Rev: 13825
2003-11-23 19:54:09 +00:00
George Rhoten
9fba623b7e ICU-3222 Fix a Solaris warning
X-SVN-Rev: 13431
2003-10-15 21:49:37 +00:00
Alan Liu
c91c33fbdf ICU-3262 make UnicodeSet constructor and applyPattern() taking a ParsePosition, options bit mask, and SymbolTable pointer public
X-SVN-Rev: 13417
2003-10-14 21:47:59 +00:00
Alan Liu
2d6ae0054b ICU-3259 restore lazy allocation (important!), but with no memory leak
X-SVN-Rev: 13376
2003-10-09 20:30:05 +00:00
George Rhoten
758f52fc95 ICU-3259 Fix a memory leak. This seems like a better solution
X-SVN-Rev: 13372
2003-10-09 17:29:22 +00:00
George Rhoten
5e26d68460 ICU-3259 Fix a memory leak. This might be the solution.
X-SVN-Rev: 13371
2003-10-09 17:22:35 +00:00
Alan Liu
17eaec5cb0 ICU-3280 rewrite applyPattern() to use RuleCharacterIterator; add test cases
X-SVN-Rev: 13238
2003-09-29 23:00:39 +00:00
George Rhoten
dc703b5f1b ICU-3221 MSVC.NET combines static const char values in the same file.
Separate them into different files.

X-SVN-Rev: 12988
2003-08-29 21:05:48 +00:00
George Rhoten
c3f70fa1d8 ICU-3221 Fix some AIX linker warnings
X-SVN-Rev: 12982
2003-08-29 16:23:22 +00:00
George Rhoten
4d18bb2b4f ICU-3221 Fix the AIX linker warning about multiple definitions of virtual functions.
X-SVN-Rev: 12958
2003-08-27 01:01:42 +00:00
George Rhoten
85a090f37b ICU-300 Make sure that pinCodePoint isn't exported.
X-SVN-Rev: 12401
2003-06-10 00:39:15 +00:00