Commit Graph

127 Commits

Author SHA1 Message Date
andrewhayden@google.com
9cab4d1314 Add avmv8 and armv8-a support.
Patch credit to Milton.Chiang@mediatek.com (thanks!).
See https://code.google.com/p/cld2/issues/detail?id=34 for more information.



git-svn-id: https://cld2.googlecode.com/svn/trunk@195 b252ecd4-b096-bf77-eb8e-91563289f87e
2015-05-27 07:40:24 +00:00
andrewhayden@google.com
87b11bae24 Resolve issue 28 and issue 29 - add compiler flag variables and SONAME fields.
Credit for the original patch goes to Gianfranco Costamagna (thanks!).
Also added a stderr warning if no flags are set at all, as this is almost
certainly wrong.



git-svn-id: https://cld2.googlecode.com/svn/trunk@194 b252ecd4-b096-bf77-eb8e-91563289f87e
2015-02-12 11:20:05 +00:00
andrewhayden@google.com
85f0ee72b2 Add Apache license header to 20141015 sources.
git-svn-id: https://cld2.googlecode.com/svn/trunk@193 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-11-07 10:16:57 +00:00
andrewhayden@google.com
ecba1ef1a0 Apply fixes for Windows to the 20141015 data set. For more information, see:
https://code.google.com/p/cld2/issues/detail?id=9



git-svn-id: https://cld2.googlecode.com/svn/trunk@192 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-11-07 09:19:51 +00:00
andrewhayden@google.com
34ce46cdbb Move compile20141015.sh to compile.sh and update compile_and_test_all.sh to use
git-svn-id: https://cld2.googlecode.com/svn/trunk@191 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-11-06 22:52:55 +00:00
andrewhayden@google.com
b2c2d34ea7 Remove the old 0715, 0122 and 0604 data sets for Chrome.
Adjust scripts accordingly and eliminate old unittest file as well.
As of this revision, the default for compilation in all the scripts
EXCEPT for compile_full.sh is the 20141015 dataset. The compile_full.sh
script still builds the most recent pre-20141015 data set, and should
also be updated soon.

The suffix (0122, 0715, 0604, or 20141015) has simply been deleted from
all affected filenames, e.g.:
  cld2_generated_deltaoctachrome0122.cc -> cld2_generated_deltaoctachrome.cc

Moving forward the intention is not keep the old data files around. Repository
history can be used to check out old versions of data files as necessary.

The clean.sh script has also been updated with the names of the new executables
produced in the compilation and testing process along with the svn:ignore
propset.

In the next commit, the compile20141015 will become compile.sh.



git-svn-id: https://cld2.googlecode.com/svn/trunk@190 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-11-06 22:49:10 +00:00
andrewhayden@google.com
077be12beb Make it possible to use compile_dynamic.sh on the 20141015 data set
git-svn-id: https://cld2.googlecode.com/svn/trunk@189 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-11-06 21:08:18 +00:00
dsites@google.com
b62344d325 Add smaller 160K-entry table
git-svn-id: https://cld2.googlecode.com/svn/trunk@185 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-11-03 17:24:14 +00:00
andrewhayden@google.com
ec70638ae9 Undo dynamic-mode breakage from merge conflict in r174
git-svn-id: https://cld2.googlecode.com/svn/trunk@184 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-31 16:07:00 +00:00
andrewhayden@google.com
c8fcec9e26 Correct minor comment typos
git-svn-id: https://cld2.googlecode.com/svn/trunk@177 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-29 12:09:40 +00:00
dsites@google.com
87276506cd New tables, test, compile for Oct 2014 small table release
git-svn-id: https://cld2.googlecode.com/svn/trunk@176 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-28 20:41:13 +00:00
dsites@google.com
5c84ccd348 Add besteffort flag again
git-svn-id: https://cld2.googlecode.com/svn/trunk@175 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-28 20:39:46 +00:00
dsites@google.com
b312a68c4a new ku-Latn text, bad UTF-8, besteffort flag, comments
git-svn-id: https://cld2.googlecode.com/svn/trunk@174 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-28 20:32:54 +00:00
dsites@google.com
92a3e24c4e State table for SpanInterchangeValid
git-svn-id: https://cld2.googlecode.com/svn/trunk@173 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-28 20:22:53 +00:00
dsites@google.com
f1f0dcb00a ResultVector fix, BestEffort flag, add CheckUTF8 routines
git-svn-id: https://cld2.googlecode.com/svn/trunk@172 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-28 20:18:58 +00:00
dsites@google.com
54479ccc2c This possibly avoids a crash on &bogus-entity input
git-svn-id: https://cld2.googlecode.com/svn/trunk@171 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-27 17:40:33 +00:00
dsites@google.com
5f505ac67a This possibly avoids a crash on no-letters input
git-svn-id: https://cld2.googlecode.com/svn/trunk@170 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-24 23:50:00 +00:00
andrewhayden@google.com
6e94c9e178 Address CLD2 issue 24: Problems compiling on Windows.
https://code.google.com/p/cld2/issues/detail?id=24


git-svn-id: https://cld2.googlecode.com/svn/trunk@169 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-10-01 15:06:16 +00:00
hajimehoshi@google.com
c9f9d40322 Fix MSVC "value may be truncated" warnings. (by pkasting@)
git-svn-id: https://cld2.googlecode.com/svn/trunk@168 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-09-17 07:11:37 +00:00
andrewhayden@google.com
bb5c092e8c Fix fprintf warning on Windows under clang.
See issue 21 for more details:
https://code.google.com/p/cld2/issues/detail?id=21



git-svn-id: https://cld2.googlecode.com/svn/trunk@167 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-08-19 09:17:12 +00:00
andrewhayden@google.com
7f791121dc Fix issue 19: Windows build fails: undeclared identifier 'close'
https://code.google.com/p/cld2/issues/detail?id=19



git-svn-id: https://cld2.googlecode.com/svn/trunk@166 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-08-13 12:35:03 +00:00
andrewhayden@google.com
a849497b8d Address issue 18: use fprinf instead of iostream for logging in the dynamic code.
https://code.google.com/p/cld2/issues/detail?id=18


git-svn-id: https://cld2.googlecode.com/svn/trunk@164 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-07-25 11:48:07 +00:00
andrewhayden@google.com
00d28e343d Update unit tests to verify behavior of dynamic mode functions in non-dynamic builds
git-svn-id: https://cld2.googlecode.com/svn/trunk@163 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-07-25 10:27:06 +00:00
andrewhayden@google.com
b661afafc7 Add clean.sh and compile_and_test_all.sh, ignore built libraries/tests/data,
and make the unit tests exit with non-zero status when tests fail.


git-svn-id: https://cld2.googlecode.com/svn/trunk@162 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-07-25 09:52:27 +00:00
andrewhayden@google.com
d076f5eda2 Use delete[] instead of delete for array types.
For more information, see issue 14:
https://code.google.com/p/cld2/issues/detail?id=14



git-svn-id: https://cld2.googlecode.com/svn/trunk@161 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-05-16 10:31:11 +00:00
andrewhayden@google.com
3fced38754 Use uint32_t instead of int for the dynamic API
https://code.google.com/p/cld2/issues/detail?id=12



git-svn-id: https://cld2.googlecode.com/svn/trunk@160 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-04-03 09:58:40 +00:00
andrewhayden@google.com
d2ad115b8d Fix unaligned access problems empirically observed on ARM 7 chipsets.
https://code.google.com/p/cld2/issues/detail?id=11



git-svn-id: https://cld2.googlecode.com/svn/trunk@159 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-04-03 07:17:06 +00:00
dsites@google.com
495b668867 Added UNALIGNED_LOAD32 macros
git-svn-id: https://cld2.googlecode.com/svn/trunk@158 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-29 00:10:23 +00:00
andrewhayden@google.com
e46695760d Add missing Apache license text. For more info, see issue 10:
https://code.google.com/p/cld2/issues/detail?id=10



git-svn-id: https://cld2.googlecode.com/svn/trunk@157 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-14 17:24:44 +00:00
andrewhayden@google.com
e48a51799a Fixup for Chromium compile chain on Windows that can't handle zero-length arrays
For more information: https://code.google.com/p/cld2/issues/detail?id=9


git-svn-id: https://cld2.googlecode.com/svn/trunk@156 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-14 08:55:18 +00:00
andrewhayden@google.com
f503d40b84 Fixup for Chromium compile chain on Windows that can't handle zero-length arrays
For more information: https://code.google.com/p/cld2/issues/detail?id=9


git-svn-id: https://cld2.googlecode.com/svn/trunk@155 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-12 11:54:05 +00:00
andrewhayden@google.com
db75897057 Dynamic mode cleanup: Use generated constants, cleanup TODOs. For more info:
https://code.google.com/p/cld2/issues/detail?id=7


git-svn-id: https://cld2.googlecode.com/svn/trunk@154 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-11 12:42:09 +00:00
andrewhayden@google.com
a57e2d13c3 Allow externally-managed mmaps to be used for loading data. For more info:
https://code.google.com/p/cld2/issues/detail?id=7


git-svn-id: https://cld2.googlecode.com/svn/trunk@153 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-04 10:21:09 +00:00
andrewhayden@google.com
ff57848619 Make compile_libs.sh executable
git-svn-id: https://cld2.googlecode.com/svn/trunk@152 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-03 15:20:51 +00:00
andrewhayden@google.com
cffbd73e13 Enable Dynamic Mode for CLD2. See issue 6 for more information on dynamic mode:
https://code.google.com/p/cld2/issues/detail?id=6


git-svn-id: https://cld2.googlecode.com/svn/trunk@151 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-03 15:20:05 +00:00
dsites@google.com
0fb71b3bda explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@150 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:54 +00:00
dsites@google.com
320a65ebf6 explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@149 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:49 +00:00
dsites@google.com
1bd70f3df8 explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@148 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:43 +00:00
dsites@google.com
d7db285f69 explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@147 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:38 +00:00
dsites@google.com
76f409121c explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@146 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:33 +00:00
dsites@google.com
b44f9bbc37 explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@145 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:27 +00:00
dsites@google.com
74e0820f0f explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@144 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:21 +00:00
dsites@google.com
34fa558c34 explicit indirect table sizes
git-svn-id: https://cld2.googlecode.com/svn/trunk@143 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:53:14 +00:00
dsites@google.com
f393303917 explicit indirect table sizes, fix kCompatTableSize
git-svn-id: https://cld2.googlecode.com/svn/trunk@142 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-03-02 21:52:25 +00:00
dsites@google.com
37afed5253 Add named constant for array size
git-svn-id: https://cld2.googlecode.com/svn/trunk@141 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-02-07 19:03:30 +00:00
dsites@google.com
9adf52419c Add named constant for array size
git-svn-id: https://cld2.googlecode.com/svn/trunk@140 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-02-07 19:03:28 +00:00
dsites@google.com
cfe9a55e6d Fix missing kTeststr_nr_Latn
git-svn-id: https://cld2.googlecode.com/svn/trunk@139 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-02-07 19:03:20 +00:00
dsites@google.com
91ddaaa4b8 Add Ndebele to unit test
git-svn-id: https://cld2.googlecode.com/svn/trunk@138 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-02-06 18:50:27 +00:00
dsites@google.com
3df209a1b8 Add Ndebele to unit test
git-svn-id: https://cld2.googlecode.com/svn/trunk@137 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-02-06 18:50:23 +00:00
dsites@google.com
92bf671295 Delete. no longer used
git-svn-id: https://cld2.googlecode.com/svn/trunk@125 b252ecd4-b096-bf77-eb8e-91563289f87e
2014-02-05 00:42:04 +00:00