Commit Graph

579 Commits

Author SHA1 Message Date
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Michael Ow
4382bcac9f ICU-9747 Fix build issues in MSVC 2015
X-SVN-Rev: 38198
2016-01-25 20:43:27 +00:00
Markus Scherer
d42e632251 ICU-11830 genrb.cpp: use CharString for pool file name & current file name; use LocalPointer for newPoolBundle; use UErrorCode reference not pointer
X-SVN-Rev: 37904
2015-09-08 21:44:49 +00:00
Markus Scherer
436d5a6ddc ICU-11829 change derb.c to .cpp; use CharString & UnicodeString for building strings; remove unused converter variable; use UPRV_LENGTHOF()
X-SVN-Rev: 37903
2015-09-08 21:08:55 +00:00
Markus Scherer
b4b5fc8392 ICU-11831 u_parseArgs() reset option->doesOccur in case of error
X-SVN-Rev: 37882
2015-09-04 18:38:25 +00:00
Markus Scherer
e1ea4422bc ICU-11537 genrb write .res formatVersion 2 if it would default to 3 without benefit: even if the pool bundle has string values, if they are not in fact shared
X-SVN-Rev: 37737
2015-08-07 21:36:08 +00:00
Markus Scherer
00ae09aa36 ICU-11537 genrb write .res formatVersion 2 if it would default to 3 without benefit: without sharing pool bundle string values
X-SVN-Rev: 37736
2015-08-07 21:05:32 +00:00
Markus Scherer
36e5d9e75f ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3; merge --integrate from dev branch, plus make toolutil/pkgitems.cpp set poolBundleStrings so that icupkg can check dependencies
X-SVN-Rev: 37731
2015-08-07 18:44:38 +00:00
Markus Scherer
3fafa669d7 ICU-11761 init fStringsForm with named constant
X-SVN-Rev: 37657
2015-07-08 23:14:47 +00:00
Markus Scherer
f527e0b536 ICU-11761 stringSet strings are unique
X-SVN-Rev: 37656
2015-07-08 22:37:20 +00:00
Markus Scherer
459c8d0e81 ICU-11761 reslist.cpp force explicit UnicodeString constructors, like other genrb .cpp files
X-SVN-Rev: 37655
2015-07-08 22:24:54 +00:00
Markus Scherer
c1f7be3ffe ICU-11761 bug fix: always begin 16BitUnits[] with a 0 for empty resources, see uresdata.h (was almost always true before r37644)
X-SVN-Rev: 37654
2015-07-08 22:07:52 +00:00
Markus Scherer
5d7b60d863 ICU-11761 include assert.h
X-SVN-Rev: 37653
2015-07-08 18:17:53 +00:00
Markus Scherer
f87b2c9b3c ICU-11761 share equal strings even if they need explicit length; more generic root resource for flexibility (experiment with more work on pool bundles)
X-SVN-Rev: 37649
2015-07-07 18:50:21 +00:00
Markus Scherer
18e27b35d6 ICU-11761 more readable pool bundle usage & string compacting
X-SVN-Rev: 37645
2015-07-03 17:09:17 +00:00
Markus Scherer
a1348758c1 ICU-11761 simpler memory management with UnicodeString & LocalArray
X-SVN-Rev: 37644
2015-07-03 02:12:17 +00:00
Markus Scherer
9312cb2d1a ICU-11761 SResource virtual dispatch for preflighting & writing resources; C++ify some of SRBRoot
X-SVN-Rev: 37643
2015-07-02 23:51:09 +00:00
Andy Heninger
59a70fdd6e ICU-11751 Fix Windows build problem with revised reslist.cpp, again.
X-SVN-Rev: 37622
2015-06-24 23:21:11 +00:00
Andy Heninger
0f9cf08e1c ICU-11751 Fix Windows build problem with revised reslist.cpp
X-SVN-Rev: 37621
2015-06-24 22:13:11 +00:00
Markus Scherer
62e756505c ICU-11751 polymorphic TableResource, ArrayResource, IntResource, IntVectorResource, BinaryResource
X-SVN-Rev: 37619
2015-06-24 20:15:08 +00:00
Markus Scherer
43c47b5685 ICU-11751 change genrb.c to .cpp, polymorphic StringResource & AliasResource with UnicodeString
X-SVN-Rev: 37618
2015-06-24 09:11:42 +00:00
Markus Scherer
cfe9e72aec ICU-11751 change genrb reslist.c & wrtjava.c to C++ (mostly just .c to .cpp)
X-SVN-Rev: 37610
2015-06-23 07:07:27 +00:00
Markus Scherer
344357d3f6 ICU-11720 better memory management in genrb parseBinary() using auto pointers
X-SVN-Rev: 37577
2015-06-16 13:14:14 +00:00
Markus Scherer
5b21336927 ICU-11719 better memory management in genrb parseImport() using string class & auto pointers
X-SVN-Rev: 37576
2015-06-16 12:34:36 +00:00
Markus Scherer
f99546419f ICU-11711 better memory management in GenrbImporter::getRules() using string class & auto pointers
X-SVN-Rev: 37575
2015-06-16 11:23:04 +00:00
Andy Heninger
ae678d796b ICU-11609 add svn:eol-style property to vcxproj files.
X-SVN-Rev: 37364
2015-04-17 21:25:48 +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
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
Markus Scherer
ec55298e96 ICU-11042 Han radical-stroke order data in the root collator instead of CJK tailorings, adjusted code & tests (merged from branches/markus/rootunihan)
X-SVN-Rev: 36162
2014-08-14 18:47:27 +00:00
Markus Scherer
435623bc05 ICU-11058 support nested collation rule imports; make the importer stateless
X-SVN-Rev: 36157
2014-08-13 22:58:14 +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
Markus Scherer
9e4365c9e6 ICU-10810 genrb: preflight strings on final parse tree, not while building the tree
X-SVN-Rev: 35544
2014-03-28 22:03:03 +00:00
Steven R. Loomis
5bc87de353 ICU-10003 update derb manpage
X-SVN-Rev: 35387
2014-03-08 01:09:32 +00:00
Michael Ow
b8358fd167 ICU-10766 Rename ResourceType enum values to avoid collision on MinGW build
X-SVN-Rev: 35376
2014-03-07 00:46:13 +00:00
Markus Scherer
c2ba26e8ba ICU-10472 build genrb, uconv, toolutil but not test suites with explicit UnicodeString constructors
X-SVN-Rev: 35230
2014-02-25 23:49:53 +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
Markus Scherer
8067293d35 ICU-10043 ignore the genrb --omitCollationRules flag while importing rules
X-SVN-Rev: 34874
2014-01-11 00:28:53 +00:00
Andy Heninger
9dd53d288d ICU-10499 fix compile error with gcc.
X-SVN-Rev: 34872
2014-01-10 22:51:31 +00:00
Markus Scherer
ed3bb51647 ICU-10499 genrb use explicit UnicodeString constructors
X-SVN-Rev: 34867
2014-01-10 21:41:03 +00:00
Steven R. Loomis
6934b97a28 ICU-10455 fix for 'make install' without icuio
X-SVN-Rev: 34495
2013-09-30 20:30:11 +00:00
Michael Ow
e5a9a38924 ICU-10398 Fix uconfig test errors in ICU 52
X-SVN-Rev: 34404
2013-09-19 20:47:22 +00:00
Steven R. Loomis
9634449e0e ICU-10398 roll version # forward
X-SVN-Rev: 34336
2013-09-16 22:07:45 +00:00
Markus Scherer
b20a9793f9 ICU-10282 deprecate bad API RuleBasedCollator::cloneRuleData(), call cloneBinary()
X-SVN-Rev: 34314
2013-09-13 19:25:01 +00:00
Steven R. Loomis
df276b7a30 ICU-10342 remove OS deps from derb
X-SVN-Rev: 34174
2013-09-04 00:10:00 +00:00
Steven R. Loomis
a4f4ed5a94 ICU-9786 fix symbol collision truncate on BSD
X-SVN-Rev: 32937
2012-12-10 19:41:03 +00:00
Markus Scherer
31ca61dc7a ICU-9679 remove another unused variable
X-SVN-Rev: 32784
2012-11-09 22:50:25 +00:00
Steven R. Loomis
6eef7bff7b ICU-9596 cleanup U_NO_DEFAULT_INCLUDE_UTF_HEADERS - use utf_old.h in tests when needed
X-SVN-Rev: 32440
2012-09-27 18:52:04 +00:00
George Rhoten
e1b9092426 ICU-9469 Improve support for C++11
X-SVN-Rev: 32179
2012-08-15 17:46:17 +00:00
Markus Scherer
2f6df5d520 ICU-9434 use static_cast<pointer type>(void *) not reinterpret_cast
X-SVN-Rev: 32119
2012-08-08 00:50:16 +00:00
Michael Ow
671a7be44b ICU-9322 Fix some memory check errors in ICU tools
X-SVN-Rev: 31829
2012-05-17 19:58:22 +00:00