Commit Graph

24509 Commits

Author SHA1 Message Date
Markus Scherer
a65dbd9267 ICU-8972 pnames_data.h: remove redundant _COUNT constants, add static
X-SVN-Rev: 31168
2011-12-22 06:52:39 +00:00
Markus Scherer
05c6a38407 ICU-8972 generated pnames data different but equivalent; should be more stable now, got a little smaller
X-SVN-Rev: 31167
2011-12-22 06:30:04 +00:00
Markus Scherer
1ec1832428 ICU-8972 bug fixes
X-SVN-Rev: 31166
2011-12-22 06:28:59 +00:00
Markus Scherer
f3fd941998 ICU-8972 adjust property names builder to simpler pnames_data.h
X-SVN-Rev: 31165
2011-12-22 03:23:52 +00:00
Markus Scherer
05d42d4ed3 ICU-8972 redo writing of pnames_data.h: write properties & their values in uchar.h order, write strings rather than double indirection through name groups & string table; stable output with minor, proportional diffs in version upgrades, and much simpler code
X-SVN-Rev: 31164
2011-12-21 07:51:56 +00:00
Andy Heninger
cec5a252fd ICU-9021 Thread safety in DigitList::getDouble(), incorporate review comment.
X-SVN-Rev: 31162
2011-12-20 19:29:26 +00:00
Markus Scherer
7063bdb084 ICU-8972 minor fixes & updates for & from preparseucd.py; add remaining ICU-specific properties to ppucd.txt; generated pnames data different but equivalent
X-SVN-Rev: 31161
2011-12-20 07:48:49 +00:00
Markus Scherer
cc68c8c6e2 ICU-8972 preparseucd.py writes pnames_data.h with formatting nearly identical to genpname/preparse.pl; delete obsolete genpname/*
X-SVN-Rev: 31160
2011-12-20 07:43:38 +00:00
Andy Heninger
6bb13512c1 ICU-9021 Thread safety fixes to DigitList::getDouble().
X-SVN-Rev: 31159
2011-12-20 01:48:45 +00:00
Markus Scherer
410c2b4580 ICU-8972 finish preparseucd.py parsing uchar.h, prepare data in order of old genpname/preparse.pl
X-SVN-Rev: 31158
2011-12-19 19:53:57 +00:00
Markus Scherer
5597c3ef96 ICU-8972 progress towards preparseucd.py also parsing uchar.h & uscript.h and writing pnames_data.h; add remaining ICU-specific properties that used to be in SyntheticPropertyAliases.txt
X-SVN-Rev: 31157
2011-12-19 05:21:15 +00:00
Markus Scherer
7c797527dc ICU-8972 PropsBuilder makes more sense than PropsWriter
X-SVN-Rev: 31156
2011-12-19 01:49:34 +00:00
Markus Scherer
05fdbf8747 ICU-8972 PropsBuilder makes more sense than PropsWriter
X-SVN-Rev: 31155
2011-12-19 01:49:04 +00:00
Markus Scherer
460b0fbce7 ICU-8972 propname_data.h with generator name rather than date (stable output)
X-SVN-Rev: 31154
2011-12-18 21:35:25 +00:00
Markus Scherer
0b9ba091db ICU-8972 move genpname/genpname.cpp to genprops/pnameswriter.cpp; use on-the-fly property names data for ppucd parsing: avoids having to rebuild ICU & tools before generating properties data
X-SVN-Rev: 31153
2011-12-18 21:33:57 +00:00
Markus Scherer
7a22393787 ICU-8972 add ISO 15924-only script codes
X-SVN-Rev: 31152
2011-12-18 16:05:55 +00:00
Markus Scherer
10243eee46 ICU-8972 preparseucd.py: add ISO 15924-only script codes, change argv[2] to path/to/ICU/src/root, prepend UTF-8 BOM to some test files
X-SVN-Rev: 31151
2011-12-18 16:01:49 +00:00
Markus Scherer
b1e48658b3 ICU-8972 genprops: merge props2writer.cpp (which used to be props2.cpp) into corepropswriter.cpp (which used to be store.c); avoids clumsy back-and-forth
X-SVN-Rev: 31150
2011-12-18 08:17:16 +00:00
Markus Scherer
cb626ab6d7 ICU-8972 genprops: minor fix, guard against nv=-100
X-SVN-Rev: 31149
2011-12-18 07:23:10 +00:00
Markus Scherer
aa743a0d86 ICU-8972 uprops.icu data different but equivalent from rewritten genprops, reads data in different order from before
X-SVN-Rev: 31148
2011-12-18 06:56:02 +00:00
Markus Scherer
f0dbf9f00b ICU-8972 genprops: use ppucd.txt for all uprops.icu properties including Script_Extensions; cleanup
X-SVN-Rev: 31147
2011-12-18 06:53:54 +00:00
Markus Scherer
d739537cf0 ICU-8972 parse ppucd.txt scx=Script_Extensions
X-SVN-Rev: 31146
2011-12-18 06:52:50 +00:00
Markus Scherer
7270f8f618 ICU-8972 genprops: use ppucd.txt for gc, nt, nv
X-SVN-Rev: 31145
2011-12-18 03:21:54 +00:00
Markus Scherer
764caf4347 ICU-8972 genprops: remove --csource option (always write both C & binary), use argv[1]=path/to/ICU/src/root instead of --destdir; separate finalizing vs. writing data
X-SVN-Rev: 31144
2011-12-18 00:37:18 +00:00
Markus Scherer
2cac672e6e ICU-8972 genprops: use ppucd.txt for enumerated properties
X-SVN-Rev: 31143
2011-12-17 06:31:25 +00:00
Markus Scherer
008e89c02f ICU-8972 genprops: use ppucd.txt for binary properties
X-SVN-Rev: 31142
2011-12-17 05:45:58 +00:00
Markus Scherer
21b5ebc902 ICU-8972 genprops: use ppucd.txt for the age property; some cleanup
X-SVN-Rev: 31141
2011-12-17 05:03:26 +00:00
Markus Scherer
de830ac709 ICU-8972 machine-generated file with generator name rather than date (deterministic output)
X-SVN-Rev: 31140
2011-12-17 04:58:41 +00:00
Markus Scherer
318d676827 ICU-7973 C: no non-const initializers
X-SVN-Rev: 31138
2011-12-16 07:25:19 +00:00
Markus Scherer
03f9f2307e ICU-8972 genprops: start to read ppucd.txt, use that for Decomposition_Type
X-SVN-Rev: 31137
2011-12-16 06:51:58 +00:00
Markus Scherer
d25c4ca662 ICU-8972 various small fixes & improvements
X-SVN-Rev: 31136
2011-12-16 06:43:44 +00:00
Steven R. Loomis
26baae9070 ICU-8992 warning cleanup
X-SVN-Rev: 31135
2011-12-16 01:08:33 +00:00
Steven R. Loomis
b58f3b7641 ICU-8653 warning cleanup
X-SVN-Rev: 31134
2011-12-16 01:06:57 +00:00
Markus Scherer
85db2273c8 ICU-8972 rename genprops data structure builder files in preparation for merging Unicode tools
X-SVN-Rev: 31133
2011-12-16 00:41:08 +00:00
Markus Scherer
78fc8e2b0b ICU-8972 add parser for ppucd.txt, preparsed UCD data with simple syntax
X-SVN-Rev: 31132
2011-12-16 00:15:14 +00:00
Markus Scherer
fcc0c5bce6 ICU-8972 add ppucd.txt, preparsed UCD data with simple syntax
X-SVN-Rev: 31131
2011-12-16 00:09:34 +00:00
Markus Scherer
fc3909efc8 ICU-8972 script to preparse the UCD (multiple .txt files) into a single ppucd.txt with a simple syntax
X-SVN-Rev: 31130
2011-12-15 23:58:14 +00:00
Markus Scherer
a479de199e ICU-9016 document default Numeric_Value differs from Unicode Standard
X-SVN-Rev: 31129
2011-12-15 23:29:52 +00:00
Markus Scherer
b81e90d33d ICU-9016 document default Numeric_Value differs from Unicode Standard
X-SVN-Rev: 31128
2011-12-15 23:28:55 +00:00
Steven R. Loomis
744eb1c815 ICU-8653 update icuinfo, add icuinfo to howexpensive benchmark.
X-SVN-Rev: 31127
2011-12-15 23:16:20 +00:00
Markus Scherer
c39e5af48c ICU-9013 deprecate API for Unicode 1.0 character names & ISO comments, remove support & data
X-SVN-Rev: 31126
2011-12-15 22:30:24 +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
b0702b4677 ICU-9013 exclude Unicode_1_Name data from unames.icu
X-SVN-Rev: 31124
2011-12-15 21:43:23 +00:00
Mark Davis
a0194a2c19 ICU-9015 Fix UnicodeProperty for tests
X-SVN-Rev: 31123
2011-12-15 21:33:04 +00:00
Markus Scherer
b4ce283bca ICU-7973 make isICUVersionAtLeast() easier to use, add isICUVersionBefore()
X-SVN-Rev: 31122
2011-12-15 17:02:43 +00:00
Markus Scherer
b3365b405a ICU-7973 fix & rename skipIfBeforeICU() -> isICUVersionBefore() & isICUVersionAtLeast()
X-SVN-Rev: 31121
2011-12-15 16:57:46 +00:00
Steven R. Loomis
1c9622e92c ICU-8653 add how expensive is benchmark
X-SVN-Rev: 31120
2011-12-15 06:16:05 +00:00
Markus Scherer
1b9190739f ICU-9008 version of RES_GET_INT(res) for when >> does not sign-extend
X-SVN-Rev: 31119
2011-12-15 00:43:16 +00:00
Markus Scherer
9a3376c379 ICU-9000 use our own implementation of uprv_stricmp() and uprv_strnicmp() to make sure we use language-independent case mappings/comparisons
X-SVN-Rev: 31118
2011-12-15 00:04:40 +00:00
Markus Scherer
46749f4d00 ICU-8999 uprv_isASCIILetter()
X-SVN-Rev: 31117
2011-12-14 23:43:56 +00:00