Commit Graph

29 Commits

Author SHA1 Message Date
c37a251918 Resolves: rhbz#1135410
Change-Id: Iaa62d8438012e32167c9179da29c446850cf1deb
2014-08-31 12:32:26 +01:00
f3cbb539e5 icu#11131 coverity warnings
Change-Id: I67d0b4b0c39c62646c7a0ae7152c7ca256680c38
2014-08-29 09:27:38 +01:00
7890a7263f update getTableSize (and fRowLen) for dodgy 2-based arithmetic
Change-Id: I3787a46cf8662ed709534db85d724c17c21b90dd
2014-08-28 15:52:21 +01:00
854bf7399a bidi, the gift that keeps on giving
Change-Id: Ia33eb3e4c89963d7391df0339a2a5b948efd0d9f
2014-08-28 10:12:42 +01:00
5d952d4208 Resolves: icu#11100 resolveImplicitLevels woes
Change-Id: I0c052cbcfe375bd1279c2235b53c909920e2e779
2014-08-26 15:25:04 +01:00
d79d2f0ef7 Resolves: icu#11054 crashes in bracketAddOpening
Change-Id: I5dd63fa41c1568e8bf2d120cc0de5d2c44dd789c
2014-08-09 21:15:52 +01:00
057613c686 icu: un-break installation of Java extensions on Windows (rel. fdo#63756)
Linking libxml2 against ICU libraries has a nasty side effect:
The URE library javavm.dll links against URE libxml2.dll, which
is now linked against OOO icuuc53.dll; when a URE program, like
uno.exe, tries to load javavm.dll it fails because the OOO layer
"program" dir is not on PATH; this breaks the installation of Java
extensions.

Fix that by splitting up ICU libraries and putting the required ones
into URE layer.

(regression from 7515b1a90fac9e31733c0fdcc1156adadf0e6f99)

Change-Id: If98dd0357162cb632d9762cd2d20162de5eb1a52
2014-07-24 00:36:14 +02:00
108ad26747 icu: pass in install program as native path, so Win32 make can invoke it
No idea why this wasn't a problem before.

Change-Id: Icbb94111061079069e2fc2102cfa4fe4bdd59bb9
2014-07-07 23:12:52 +02:00
71aedada9e Use gb_DEBUG_CFLAGS to get -FS for VS 2013
Change-Id: I22485919713f5cafb494992a36c5ada21bdcc18c
2014-07-07 20:52:55 +03:00
d77c108922 external/icu: Change flexible array members to be of length 1 instead of 2
...so that -fsanitize=undefined does not report false out-of-bounds accesses;
Clang's isFlexibleArrayMemberExpr (lib/CodeGen/CGExpr.cpp) only treats arrays of
length 0 and 1 as such special flexible cases.

There appears to be no code in icu that depends on those arrays to be of length
2 (e.g., via sizeof), though it does look suspicious that they are deliberately
of length 2 instead of 1.

Change-Id: I85293e769f1d64cb4e60e13f1cd7f88b76e37487
2014-06-19 23:05:42 +02:00
60c43d81ad Some trivial fix for hash function signed overflow undefined behavior
Change-Id: I41ec24a02867ba3c5bf4f39b5d79bf6a3254ad0d
2014-05-22 14:33:32 +02:00
f02c7cdbef drop source/common/putilimp.h part of Android patch, fdo#77071 related
ICU now has its (U_PLATFORM == U_PF_ANDROID) directive.

Change-Id: If740ea0c8004a2a8365d46b5ecf0e388b5965f62
2014-04-29 20:36:31 +01:00
2d843bb104 upgrade to ICU 53.1, fdo#77071 related
plus further work in i18npool to make that build

adapt i18npool to ICU 53 upgrade, fdo#77071

Korean charset collator can't be built from ko_charset.txt because of

"The runtime code decomposes Hangul syllables on the fly, with recursive
processing but without making the Jamo pieces visible for matching. It
does not work with certain types of contextual mappings."
"While handling a Hangul syllable, contractions starting with Jamo L or
V would not see the following Jamo of that syllable." (this is where we
bail out already with the first syllable of ko_charset.txt)
Another condition to fail is described as "A contraction ending with
Jamo L or L+V would require generating Hangul syllables in
addTailComposites() (588 for a Jamo L), or decomposing a following
Hangul syllable on the fly, during contraction matching."

Excluded the file from the build for ICU >=53 and hope that ICU in the
mean time handles Korean collation correctly.

Additionally, ICU 53 took ages (if it would had finished at all) to
build the collator from zh_TW_charset.txt because of the \u#### escaped
notation. Converted the file's content to characters using
http://www.rishida.net/tools/conversion/

Change-Id: I64213214b4870e7077f72b95fee1ddc9782c2b21
Reviewed-on: https://gerrit.libreoffice.org/9204
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-04-29 18:28:15 +00:00
421c78e05f external/icu: Some trivial -fsanitize=undefined patches
Change-Id: I99c62b08b84d2d8afafd391257ab7b8b2d887fac
2014-04-16 17:48:37 +02:00
3ac1663a60 No use to build tools or extras when cross-compiling
Also, for some reason building the endian check thing fails when trying to use
Clang for Android, so just hardcode it.

Change-Id: I04fb7ba4f88a1dc6a4e743b39e7c0cd19d7e3598
2014-04-16 13:06:06 +03:00
4867d022d5 Don't create an icudata library for iOS
The intent being that the data file will be used instead.

To avoid linking error, correspondingly include the ICU stubdata
library in the list of static libraries to link with.

Change-Id: I0f223fcce89dfbe283aaa2fcd2d5a58ea36ba364
2014-04-12 20:34:49 +03:00
593ff64283 normalize values of MINGW_SHARED_GCCLIB/MINGW_SHARED_GXXLIB
Change-Id: I4f4cecd95f87b9d37fa1b1a270cf554d7707aaa2
2014-03-11 11:57:18 +01:00
d729d169de normalize values of CROSS_COMPILING
Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
2014-02-27 18:09:01 +01:00
a500ab2ee1 Tunnel CXXFLAGS_CXX11 into ICU
for our -D__float128=void hack for Clang against libstdc++; it is OK that that
explicitly enables C++11 for ICU, as ICU's configure.ac would set -std=c++0x if
no -std= is passed in.

Change-Id: I0e5044773c3d6923e3b100e19b5b54ab9edf7a1b
2013-11-13 17:07:12 +01:00
8ab4752820 upgrade to ICU 52.1, fdo#70995
Change-Id: I25e4b630c9029749cc459c0b65da287d6f0ba95e
Reviewed-on: https://gerrit.libreoffice.org/6666
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2013-11-13 15:35:16 +00:00
b800216933 remove INPATH and PROEXT
- WORKDIR path is just workdir
- INSTDIR path is just instdir
- WORKDIR_FOR_BUILD is workdir_for_build
- INSTDIR_FOR_BUILD is instdir_for_build
- replace other usage of INPATH by combination of OS and CPUNAME

Change-Id: Ie398387ebd82a968ec2605f2103c55b43a231482
Reviewed-on: https://gerrit.libreoffice.org/6601
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-07 14:27:50 -06:00
bc5069ac40 remove SOLARENV variable
It is constant and can just be replaced by $(SRCDIR)/solenv.

Use BUILD_TYPE where it was used to check if config_*.mk is sourced.

Change-Id: Ib9d480c57194b6340093aa47776f8768df69b7d1
2013-11-02 22:07:53 +01:00
8df17a3409 gbuild: set Package default target to INSTDIR
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28 20:17:26 +01:00
349015b18e gbuild: remove gb_ExternalPackage_add_library_for_install
Deliver all external libraries to INSTDIR directly.

Change-Id: I8d3e035e5cfa07bd0f53ee4a226c48d4b86a4032
2013-10-27 00:50:02 +02:00
d7ddb18d41 icu: apparently "icutu" library is only used by genbrk etc. tools
Change-Id: I15a3cc3fcdca7d9c4f91e67a4517c9c3533efea7
2013-10-23 19:21:14 +02:00
e353b2bcc2 icu: use executables from WORKDIR
Change-Id: I74b9d1dbcb3e8f7f2cc092dad60266cf60475367
2013-10-23 19:21:14 +02:00
a92f80fdca icu: use libraries from WORKDIR
Change-Id: I7d996cc9412eadf89c8d04ee29abe1fa6f7d53db
2013-10-23 19:21:14 +02:00
cc4aca0c9f Fix building from inside modules moved to external
Change-Id: Id6023dc3751fe70984f489682be17d1ab1855f71
2013-10-18 21:52:01 +02:00
13818a69d7 fdo#70393: move icu to a subdir of external
Change-Id: I9d8191848b093240f79207446afb13ca6fd708e4
Reviewed-on: https://gerrit.libreoffice.org/6309
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-18 07:00:22 +00:00