Commit Graph

1602 Commits

Author SHA1 Message Date
Douglas Mencken
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
Stephan Bergmann
7f545208e8 external/glm: -Werror,-Wsign-compare
Change-Id: I5acb672ea8387cdbf68677a2b46d21785148a735
2014-10-10 16:31:09 +02:00
Caolán McNamara
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
Fridrich Štrba
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
Stephan Bergmann
8b3bb1ee9d Even latest Clang only claims GCC 4.2
Change-Id: I70d117f62b91c4d413add44368836c870f203f28
2014-10-06 09:29:10 +02:00
Tor Lillqvist
54ae614e3f WaE: -Wshadow
Change-Id: I3a9e01237d8cade5d99955f02c01c25618ccd9de
2014-10-03 10:12:10 +03:00
Michael Stahl
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
Michael Stahl
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
Jan-Marek Glogowski
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
Stephan Bergmann
61a66b612e external/libeot internally uses --std=c99, do not overrule that
Change-Id: Ic265344935b9e2d41f0e054d29b01f352407a493
2014-09-30 10:41:11 +02:00
László Németh
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
Peter Foley
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
Robert Antoni Buj i Gelonch
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
Tor Lillqvist
280efe54ee Make the patch apply
Change-Id: Ic773b86a1ebaa66a1b0ae236429276f35776deb8
2014-09-19 19:59:16 +03:00
Tor Lillqvist
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
Tor Lillqvist
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
Tor Lillqvist
e7f8b9f8f5 Bye bye VS2010
Change-Id: I9d16f4f0df42ae4b046bc1e4ac4fba95c4b9d785
2014-09-17 13:10:26 +03:00
Stephan Bergmann
f08f0d1583 Forgot to add patch file
Change-Id: Ia7c09a5bac9b644814b8c4891bb958e28937fa33
2014-09-15 18:49:20 +02:00
Stephan Bergmann
b7502a61aa -Werror,-Wunused-local-typedef in forced-C++03 CppunitTest_odk_checkapi
Change-Id: I951535c82c12be74d96c4e6c6b94dccf09982054
2014-09-15 18:22:37 +02:00
Caolán McNamara
924a2689b3 WaE: -Wshadow signals2
Change-Id: Ib5e6d1e75322dad23f4bb379b8db6dfa4bf18bb0
2014-09-15 09:16:42 +01:00
Luboš Luňák
4443993c06 avoid warnings with boost signals2
Change-Id: I003f4f951d3b4007bc11ac957ac88bf92d87aab3
2014-09-14 22:07:07 +02:00
Norbert Thiebaud
4fa8282816 mac: clean-up obsolete conditional code based on old SDK
Change-Id: Ie2d476780a48b5815961598e214343d5def962c1
2014-09-13 20:21:07 +02:00
Stephan Bergmann
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
Stephan Bergmann
d968c28287 fdo#45071: Remove ENABLE_NPAPI_INTO_BROWSER left-overs
...from previous commit

Change-Id: I945faa6215f971ce817c6450fe0786da0696091f
2014-09-09 15:20:35 +02:00
Bryan Quigley
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
Tor Lillqvist
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
Peter Foley
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
Markus Mohrhard
b2111e6b15 that additional debug output for neon is not necessary anymore
Change-Id: Iece8182517a396587678f2e5ff9ffaeb82ec428f
2014-09-07 19:36:07 +02:00
Norbert Thiebaud
67034cb668 mariadb iconv dep apparently is only for Mac
Change-Id: Ic49fa8c62eb7ce01e4488bc32ef9167a9b77662d
2014-09-05 12:52:56 +02:00
Norbert Thiebaud
eef839fe48 fdo#82847 mariadb patch out problematic 'inline' that result in link issue
Change-Id: I60d9ba1315090c896d6f7f9b3d407ab11a1d2037
2014-09-04 08:24:40 +02:00
Norbert Thiebaud
e68a4a40ee non-system mariadb need iconv
Change-Id: I2c150d9adf9f5d21b36c9cf57f62e214dc97b680
2014-09-04 08:23:12 +02:00
Norbert Thiebaud
4c232e4962 remove build dependency on cmake for sqlconnector
Change-Id: I73a56b902099939972b8f5c8a55d231459e5421b
2014-09-04 08:23:12 +02:00
Stephan Bergmann
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
Caolán McNamara
c37a251918 Resolves: rhbz#1135410
Change-Id: Iaa62d8438012e32167c9179da29c446850cf1deb
2014-08-31 12:32:26 +01:00
Thomas Arnhold
686ea7add8 upgrade to poppler-0.26.4
Change-Id: Ia5c85b8e697491aafc9de4838504226f11480b44
Reviewed-on: https://gerrit.libreoffice.org/11081
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-30 04:20:17 -05:00
Stephan Bergmann
6bc81d4e78 Simplify some $ENABLE_DEBUG expressions
Change-Id: I9f60fd317f3a2995a182d51d06059bd994cf837c
2014-08-29 17:14:53 +02:00
Stephan Bergmann
b2666f10e0 Pass --enable-debug also down to external/libvisio
Change-Id: I1ac53910390d99ad9fca72270dd3b98e281c000e
2014-08-29 16:22:13 +02:00
Stephan Bergmann
2426e72dba Pass --enable-debug also down to external/libmspub
Change-Id: I76f834dea9aebbdef6cdb240e0a2f1ac49217f5e
2014-08-29 14:38:33 +02:00
Stephan Bergmann
66e3194e6a external/libodfgen: Avoid undefined-behavior casts...
...from (potentially negative) double to unsigned

Change-Id: I2f922beec7201a8d769133e879208d2e951e6429
2014-08-29 14:33:05 +02:00
Stephan Bergmann
691450b8d4 Pass --enable-debug down to some externals
Change-Id: I3bb3c90142cbbd32877ba5e3d9070bc52ee76df9
2014-08-29 14:06:04 +02:00
Stephan Bergmann
7a1d8c2187 external/libmwaw: Invalid downcasts to libmwaw_applepict2::OpCode
cf. <https://sourceforge.net/p/libmwaw/tickets/6/>

Change-Id: Id59fc23ab25a8b4e12a96a0eb88d091cc5ae6e25
2014-08-29 12:20:00 +02:00
Zolnai Tamás
a60cc58021 Upgrade libgltf to 0.0.1
News in this version:
- Solve some limitations of walkthrough mode (fdo#81425)
- Multisampling (better rendering quality, mainly at the edges)
- Better error handling (no crash in case of invalid input file)

Change-Id: I46fdf56b00476614487fbcc04178e43e33a01794
Reviewed-on: https://gerrit.libreoffice.org/11179
Reviewed-by: Zolnai Tamás <tamas.zolnai@collabora.com>
Tested-by: Zolnai Tamás <tamas.zolnai@collabora.com>
2014-08-29 05:01:31 -05:00
Caolán McNamara
f3cbb539e5 icu#11131 coverity warnings
Change-Id: I67d0b4b0c39c62646c7a0ae7152c7ca256680c38
2014-08-29 09:27:38 +01:00
Caolán McNamara
7890a7263f update getTableSize (and fRowLen) for dodgy 2-based arithmetic
Change-Id: I3787a46cf8662ed709534db85d724c17c21b90dd
2014-08-28 15:52:21 +01:00
Caolán McNamara
5955a98b2a upgrade to hunspell 1.3.3
Change-Id: Ibf8345885e99ae8eb9dd6d64ccd9b5407d8d610e
Reviewed-on: https://gerrit.libreoffice.org/11136
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-28 06:51:39 -05:00
Caolán McNamara
854bf7399a bidi, the gift that keeps on giving
Change-Id: Ia33eb3e4c89963d7391df0339a2a5b948efd0d9f
2014-08-28 10:12:42 +01:00
Caolán McNamara
5d952d4208 Resolves: icu#11100 resolveImplicitLevels woes
Change-Id: I0c052cbcfe375bd1279c2235b53c909920e2e779
2014-08-26 15:25:04 +01:00
Stephan Bergmann
445d463a7f Update some external config.{guess,sub}
...to latest versions from <http://git.savannah.gnu.org/gitweb/?p=config.git;
a=blob_plain;f=config.guess;hb=HEAD> and <http://git.savannah.gnu.org/gitweb/?
p=config.git;a=blob_plain;f=config.sub;hb=HEAD>, for aarch64 support.

Change-Id: I99756c33652aa8e19c6a407260b5c49de140128e
2014-08-26 15:59:43 +02:00
David Tardon
bf2c2ec5d8 upload libpagemaker 0.0.1
Change-Id: I287d4947735b82bb13bb6b18880dca594b17e38b
2014-08-21 10:05:40 +02:00
rbuj
d8a7f72bab Use COMMONS_LOGGING_VERSION vble
Change-Id: I0c76ec7e3f9b95166b4005dd1ad5349b3889c3e4
Reviewed-on: https://gerrit.libreoffice.org/10993
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-20 07:29:55 -05:00