Commit Graph

868 Commits

Author SHA1 Message Date
acd62e055e external/icu: workaround -fsanitize=signed-integer-overflow warnings
Change-Id: I7d8e3be80f04ec0a9d1dbd394ac0e2ab2f1a4551
2014-10-28 17:29:53 +01:00
1f03a8d48c external/icu: workaround -fsanitize=signed-integer-overflow warnings
Change-Id: I44b5d74a3c1addaec77e724a3e7356e3648fc10c
2014-10-28 16:00:16 +01:00
3025a28bc2 external/icu: More workaround UBSan flexible array member detection
Change-Id: Ie83e3104bd639be42ac0c6e25fc2eafd88cf0c6f
2014-10-28 14:33:46 +01:00
ae064ec005 nss: add libnsspem.dylib to macosx-change-install-names.pl call
Change-Id: If457f9e090a4ef3a5b2b8e4f09ce0b5e3b3d04ec
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-27 22:14:01 +01:00
e7682068a1 Pass ENABLE_DEBUG into external/libetonyek
(and consequently fix the argument type of one assert invocation)

Change-Id: I8bf5f024cc104a3885f7b9bf6ed63b9f6259d47b
2014-10-27 22:06:10 +01:00
142dbf27c1 WaE: unused parameter
Change-Id: Ifcdef5ed474b36e60604dde96bba4dd152e829b6
2014-10-24 17:50:54 +03:00
a8c24b25fd Cross-compilation fix
Change-Id: I205afbd9c1cbe3a286359036cbdcf6aa9d986f71
2014-10-21 01:49:38 +03:00
bf8fb8cfc3 Make the patch apply again after NSS update
Change-Id: I935188ee90b4c56c5a4d7cc374a26e4b182beb5f
2014-10-21 01:48:36 +03:00
f24c608705 allow to build with system opencollada
Change-Id: I6101099c57d429987e06bca0652c843f4a94f8cc
2014-10-20 14:47:58 +02:00
9cf46f2174 typo in filename, hidden by case insensitivity of windows
Change-Id: I9ec1fefe61f24c005519a2bb4a87fe07f6895ca6
2014-10-18 23:03:46 -05:00
b564162dbd fix libmwaw build on Windows
Change-Id: I103ba777cc7f38f5df17995d9ef9bfb6d6cf133b
2014-10-18 20:55:01 -05:00
0a9051782c drop unneeded patches
Change-Id: I67314a12717ada0bdb49d9578821abf66fb41302
2014-10-17 09:38:42 +02:00
8bc1ee9b4c file libmwaw-0.3.so.3.0.1 does not exist in the tarball
Change-Id: I6b1592af199fcd79ac16827332014ea703a48a1e
2014-10-16 21:10:25 +02:00
57d3b5cfa6 Update to last libmwaw version
+ add filters for MacDraw, MacDraw II and RagTime (v2-3 for Mac)

Change-Id: If84abff1baa75f9bfa951039781575b6a8648a84
2014-10-16 17:44:43 +02:00
fe25090e99 MAC_OS_X_VERSION_MIN_REQUIRED is always >= 1080 now
Change-Id: I40d03ab9acb67ab72b9047017452f069ce88fd4b
2014-10-16 11:22:13 +03:00
4c12951a03 Typo: compatability->compatibility
Change-Id: If0b98a30452a9d1fcc340173deb6856755926471
2014-10-12 13:00:46 +02:00
b592b3e89e drop -Wno-long-double compiler flag
new GCC compilers do not accept "obsolete and totally removed
in gcc 4.2 and later" -Wno-long-double flag

actually, it used to be Apple-only GCC extension for gcc<=3.3

Change-Id: Ied3320cbd45915682b628c99bb0a168ea4753bb7
Reviewed-on: https://gerrit.libreoffice.org/11819
Reviewed-by: Douglas Mencken <dougmencken@gmail.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-11 14:14:40 +00:00
7f545208e8 external/glm: -Werror,-Wsign-compare
Change-Id: I5acb672ea8387cdbf68677a2b46d21785148a735
2014-10-10 16:31:09 +02:00
726172e3eb bump nss from 3.15.3 to 3.16.5
Change-Id: I8318982eb1cee1a694dbdd504e0ca106a29d807e
Reviewed-on: https://gerrit.libreoffice.org/11700
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-09 16:29:45 +00:00
0595f3ff18 Allow building with java9 (first installement)
In java9, there is no option for source/target 1.5,
the lowest version is 1.6.
This commit also patches the relevant external libraries
in order to be able to build with build-wide source/target

Change-Id: I68807c973a2a8be2f9b3a6e01243e36cb7110a12
2014-10-06 10:21:09 +02:00
8b3bb1ee9d Even latest Clang only claims GCC 4.2
Change-Id: I70d117f62b91c4d413add44368836c870f203f28
2014-10-06 09:29:10 +02:00
54ae614e3f WaE: -Wshadow
Change-Id: I3a9e01237d8cade5d99955f02c01c25618ccd9de
2014-10-03 10:12:10 +03:00
3b59dbbffd remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macro
This is supported in GCC 4.6.0 already:
https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html

Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02 20:00:18 +02:00
cd42e5f3e2 fdo#82430: MSVC build: avoid using SSE2 instructions in some externals
Hopefully this should fix up the most important external libraries.

Change-Id: I744cb5a2ce7fafb10852059050cf24589d6ca400
2014-10-02 17:20:15 +02:00
e3883cc2a9 collada2gltf: drop tr1 support
The detection code is wrong for gcc 4.6 and the tr1 code actually
conflicts with the OpenCOLLADA code, because it creates an ambiguity
of shared_ptr in the cpp files.

Additionally most of the headers already use std::shared_ptr or
std::unordered_map.

Change-Id: Ibfe80e45687d34ec6fcd23339fd3f968fae402ba
Reviewed-on: https://gerrit.libreoffice.org/11695
Reviewed-by: Zolnai Tamás <tamas.zolnai@collabora.com>
Tested-by: Zolnai Tamás <tamas.zolnai@collabora.com>
2014-10-01 17:55:44 +00:00
61a66b612e external/libeot internally uses --std=c99, do not overrule that
Change-Id: Ic265344935b9e2d41f0e054d29b01f352407a493
2014-09-30 10:41:11 +02:00
b37a88c308 Hunspell: fix buffer overflow during morphological analysis
affected: thesaurus usage in a Hungarian document

test case: press Ctrl+F7 on the word "művészegyéniség"

Change-Id: I024568e81265c4ce3e05f718bf9147229416ab73
2014-09-26 16:21:28 +02:00
fee691380b Fix firebird without cygwin gcc
The firebuild buildsystem calls windres, which depends on cygwin gcc,
use rc.exe so that a windows build without cygwin gcc will succeed.

Change-Id: Ic7719749b3806232912e3eb8b1ede11e6eb3c10c
Reviewed-on: https://gerrit.libreoffice.org/11619
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-26 11:54:33 +00:00
5c6d26753d Fix for CONC-104: mysql_options doesn't support MYSQL_SECURE_AUTH option
http://bazaar.launchpad.net/~maria-captains/mariadb-native-client/trunk/revision/149

Change-Id: I273f355b9fc922fdb9d9692e0057cfccfdcbcde1
Reviewed-on: https://gerrit.libreoffice.org/11492
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25 16:14:27 +00:00
280efe54ee Make the patch apply
Change-Id: Ic773b86a1ebaa66a1b0ae236429276f35776deb8
2014-09-19 19:59:16 +03:00
5e2492b9c4 Use correct CFBundleExecutable in the Info.plist for Python.app
The Python build machinery apparently does not use proper autoconfigury to
expand this Info.plist.in file, so can't use @PYTHONFRAMEWORK@ as for the
Info.plist for the framework itself, but have to hardcode LibreOfficePython.

As such I am not sure that Python's way of including an app bundle
inside a framework's Resources subtree is acceptable in the stricter
code signing and Gatekeeper rules that soon will be in effect. Will
see.

Change-Id: I1ef9e7b748d41ec4b32d80e721d5fba5e7a90d18
2014-09-19 19:02:44 +03:00
24d1a89285 Use correct CFBundleExecutable for the LibreOfficePython framework
It should be the basename of the framework. The Python
configury already provides that as @PYTHONFRAMEWORK@.

Change-Id: I116a34c3bcc8f661abe16b2b5cc1b9268ecd2780
2014-09-19 17:16:21 +03:00
e7f8b9f8f5 Bye bye VS2010
Change-Id: I9d16f4f0df42ae4b046bc1e4ac4fba95c4b9d785
2014-09-17 13:10:26 +03:00
f08f0d1583 Forgot to add patch file
Change-Id: Ia7c09a5bac9b644814b8c4891bb958e28937fa33
2014-09-15 18:49:20 +02:00
b7502a61aa -Werror,-Wunused-local-typedef in forced-C++03 CppunitTest_odk_checkapi
Change-Id: I951535c82c12be74d96c4e6c6b94dccf09982054
2014-09-15 18:22:37 +02:00
924a2689b3 WaE: -Wshadow signals2
Change-Id: Ib5e6d1e75322dad23f4bb379b8db6dfa4bf18bb0
2014-09-15 09:16:42 +01:00
4443993c06 avoid warnings with boost signals2
Change-Id: I003f4f951d3b4007bc11ac957ac88bf92d87aab3
2014-09-14 22:07:07 +02:00
4fa8282816 mac: clean-up obsolete conditional code based on old SDK
Change-Id: Ie2d476780a48b5815961598e214343d5def962c1
2014-09-13 20:21:07 +02:00
e9778073e3 For ASAN __cxa_throw interception to work, link python.bin to libstdc++
...where the intercepted __cxa_throw is found, as otherwise PythonTest_sw_python
fails with

AddressSanitizer CHECK failed: projects/compiler-rt/lib/asan/asan_interceptors.cc:293 "((IndirectExternCall(__interception::real___cxa_throw))) != (0)" (0x0, 0x0)
 #0 in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) projects/compiler-rt/lib/asan/asan_rtl.cc:70:3
 #1 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:76:5
 #2 0x48c3ac in __cxa_throw projects/compiler-rt/lib/asan/asan_interceptors.cc:293:3
 #3 0x7f67faec0ef5 in pyuno::createClass(rtl::OUString const&, pyuno::Runtime const&) pyuno/source/module/pyuno_except.cxx:92:9
...

Change-Id: I0cb364eacab49644b426fb62f49bf9d7c8b5090c
2014-09-11 15:21:23 +02:00
d968c28287 fdo#45071: Remove ENABLE_NPAPI_INTO_BROWSER left-overs
...from previous commit

Change-Id: I945faa6215f971ce817c6450fe0786da0696091f
2014-09-09 15:20:35 +02:00
496bc3cd6c fdo#45071 Remove Libreoffice browser plugin
This removes ENABLE_NPAPI_INTO_BROWSER while it should keep
ENABLE_NPAPI_FROM_BROWSER (embed flash in LO) intact.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Conflicts:
	extensions/source/nsplugin/source/npshell.cxx

Change-Id: I80a9159a75653c74423d8fdc7c188568d3188e04
2014-09-09 15:20:35 +02:00
6492c8576e Make the "Mac-like" or "canonical" app bundle structure always used on OS X
In other words, only executable files go in the MacOS folder. Dynamic
libraries and bundled frameworks (i.e., LibreOfficePython), and
nothing else, go in the Frameworks folder, and all other files go in
the Resources folder.

Especially, note that Java class files and rc (.ini) files also go in
Resources.

Such an app bundle structure is what Apple strongly suggests one
should use, and it has been hinted that future versions of code
signing and/or Gatekeeper will require such a structure.

There is still some ugliness thanks to traces of the historical
separation of URE from "the office". Like there are two separate
"unorc" files, one for URE, one for the LibreOffice application. IMHO,
this should be cleaned up, but is probably controversial.

(Eek! I now see there are actually *three* unorc files in the app
bundle. Not intentional. Need to fix that later.)

Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-09-09 13:55:23 +03:00
666b9fb19d Hide warning spam from collada2gltf
Change-Id: Id772a8f4ca9f46f8a36dede759495e06c8e43732
Reviewed-on: https://gerrit.libreoffice.org/11343
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-09-09 08:37:04 +00:00
b2111e6b15 that additional debug output for neon is not necessary anymore
Change-Id: Iece8182517a396587678f2e5ff9ffaeb82ec428f
2014-09-07 19:36:07 +02:00
67034cb668 mariadb iconv dep apparently is only for Mac
Change-Id: Ic49fa8c62eb7ce01e4488bc32ef9167a9b77662d
2014-09-05 12:52:56 +02:00
eef839fe48 fdo#82847 mariadb patch out problematic 'inline' that result in link issue
Change-Id: I60d9ba1315090c896d6f7f9b3d407ab11a1d2037
2014-09-04 08:24:40 +02:00
e68a4a40ee non-system mariadb need iconv
Change-Id: I2c150d9adf9f5d21b36c9cf57f62e214dc97b680
2014-09-04 08:23:12 +02:00
4c232e4962 remove build dependency on cmake for sqlconnector
Change-Id: I73a56b902099939972b8f5c8a55d231459e5421b
2014-09-04 08:23:12 +02:00
7a4cc19791 Also on Linux do not export symbols from static orcus libraries
...otherwise e.g. running CppunitTest_sc_filters_test under -fsanitize=address
complains about ODR violation of 'vtable for orcus::csv::parse_error' exported
from both libsclo.so and libscqahelper.so.

A problem could potentially arise with exceptions thrown from static orcus code
linked into library and intended to be caught in another, but hopefully all such
exceptions are intended to be caught already locally anyway.

Change-Id: Iff5c73d7a2324b457c2e86656c11b18f7ba210f6
2014-09-03 09:22:16 +02:00
c37a251918 Resolves: rhbz#1135410
Change-Id: Iaa62d8438012e32167c9179da29c446850cf1deb
2014-08-31 12:32:26 +01:00