1602 Commits

Author SHA1 Message Date
Michael Stahl
e31914d7f4 python3: override LINKCC properly, it needs -pthread
Build on Fedora 24 fails with "Python/thread.o: undefined
reference to symbol 'pthread_key_delete@@GLIBC_2.0'"

Change-Id: If23838722e1cd0220c509d25932ae0539e8da7a1
2016-07-01 13:09:00 +02:00
Michael Stahl
ca6592c0ae remove executable bit from .mk files
Change-Id: Id79898bb4f71103830ad7f74da71fbd5102e4fb5
2016-07-01 13:09:00 +02:00
Markus Mohrhard
3f22898c15 I screwed up with the breakpad minidump_stackwalk patch
This does not affect normal LibreOffice and is only important for the
server side.

Change-Id: I270262ed6e1b22c3ef41099fda19fa386f386203
2016-06-27 04:42:22 +02:00
Markus Mohrhard
e54b208df3 always compile breakpad with O2
Change-Id: I4cda93fee47244cf3eb7b13bb6cb2a3eab007cf0
2016-06-27 04:41:57 +02:00
Markus Mohrhard
74c01bb89f better use a backward compatible way to change the output
Change-Id: If5829e321db8af1f09cccafaf34a18343492f514
2016-06-27 03:37:51 +02:00
Markus Mohrhard
c717158a82 add code_id to the minidump_stackwalk
Change-Id: Ibcc32344780b7ad5814678cf7dd9a2167ede1661
Reviewed-on: https://gerrit.libreoffice.org/26649
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-25 00:15:36 +00:00
Michael Stahl
c931f3a518 libzmf: __ANDROID__, not ANDROID
The former is defined by GCC, the latter by gbuild -D$(OS)

Change-Id: I5960f8f74defcab964729c4deca5b1a988125d24
2016-06-24 22:34:17 +02:00
Michael Stahl
b72c14f68b libzmf: blind fix hack attempt to work around buggy android headers
Change-Id: Ie7b265e909389ae80d8ced3d803d7e355cda2211
2016-06-24 21:08:08 +02:00
Kohei Yoshida
81db0773fe Upgrade mdds to 1.2.1.
Change-Id: Ifc5b9d94bad191c0e19d5e6dada492caeb9cba76
Reviewed-on: https://gerrit.libreoffice.org/26638
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-24 15:05:43 +00:00
David Tardon
2ff98b560c upload libmwaw 0.3.8
Change-Id: I4779d538199ecccb8997e3bfdbf97d7b0ea9679b
2016-06-24 16:33:03 +02:00
David Tardon
f31de94b2d fix android build
Change-Id: Iecc55d0e1efd74b9895aa8f71934efa887bb6984
2016-06-24 09:28:12 +02:00
Aleksas Pantechovskis
aaed6fe55a integrate libzmf
Change-Id: I0c7ea5b56ea4ed4839ff38798c0b915aaca81774
Reviewed-on: https://gerrit.libreoffice.org/26574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-06-23 15:39:52 +00:00
Markus Mohrhard
660e559781 uitest: we will need the python unittest module
Change-Id: Ic0589be9b3769279b201dfd314534a087c7f4309
2016-06-22 18:19:33 +02:00
Caolán McNamara
9ec54e9240 Resolves: tdf#90579 swap_single_to_multi_blocks seems broken
when there is associated data in the src. Its copies those pointers
into the block that will appear in the destination. Then can destroy
the source block, which deletes the contents of those pointers, and
then inserts the new block which has dangling pointers to the deleted
data.

https://gitlab.com/mdds/mdds/merge_requests/2

Change-Id: Id9614d95652c8032b03cb5748a284917043d8d21
2016-06-17 16:43:55 +01:00
Caolán McNamara
a72b705ec2 update mdds README for new home
Change-Id: I2641abe8e049361d5eb92e19b9ed57b8e7209386
2016-06-17 15:10:57 +01:00
Markus Mohrhard
4b2b496901 we are using our own minidump_upload executable
Change-Id: Icee770ff8e2db019031d618528a9aab83041389d
Reviewed-on: https://gerrit.libreoffice.org/26244
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-14 12:04:22 +00:00
Szymon Kłos
aea4fdb65a tdf#87938 google 2FA fix, new pin code page
Updated libcmis 2FA patch:
+ changed challenge page parser
+ handled abort in the auth code provider

Change-Id: I2bbb102ec735788132e094d3908ac12432e9508c
Reviewed-on: https://gerrit.libreoffice.org/25372
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2016-06-09 07:55:57 +00:00
Christian Lohmaier
adf7df9c02 use android app's target-sdk (22) also for owncloud lib
maybe should be set via configure, to keep them in-sync

Change-Id: I3747992bb2bbdd88f3668418280bbafc8c998a02
2016-06-02 14:04:50 +02:00
Michael Stahl
35db469326 libxslt: upgrade to release 1.1.29
* drop libxslt-freebsd.patch.1
  fixed in new upstream libtool
* drop libxslt-config-guess.patch.0
  fixed in new upstream autoconf
* drop libxslt-android.patch
  fixed in new upstream autoconf
* drop libxslt-configure.patch.1
  fixed upstream
* drop libxslt-vc15.patch
  fixed upstream
* drop second hunk of libxslt-vc10.patch
  fixed upstream
* drop 0001-Fix-for-type-confusion-in-preprocessing-attributes.patch.1
  fixed upstream

Change-Id: I7427725ed6c82da53de12c9e1676e6ce02fd6483
Reviewed-on: https://gerrit.libreoffice.org/25775
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-06-01 15:58:44 +00:00
Stephan Bergmann
a61063ca2c Drop warning-related parts of external/boost/clang-cl.patch.0
...which are no longer necessary after e5c6574f5df8d2a5914beb03dce604beb8d62ee8
"boost: warning-patch-ectomy"

Change-Id: I4e79a4c7b9b20f9b49dc05e6a86831837aa4bbf0
2016-05-31 17:45:58 +02:00
Michael Stahl
ac5fd13937 boost: restore boost.gcc47679.patch
One of the tinderboxes fails with mysterious warning:

include/tools/gen.hxx:418:36: error: '*((void*)& aViewportExt +16)' may
be used uninitialized in this function [-Werror=maybe-uninitialized]
     nBottom = rSize.Height() ? nTop+rSize.Height()-1 : RECT_EMPTY;

Change-Id: I62bf99d1a623ba4bd9d7db5fe049366d0f20e26f
2016-05-30 17:49:20 +02:00
Michael Stahl
e5c6574f5d boost: warning-patch-ectomy
Upstream maintainers, with few exceptions, generally don't care about
warnings in boost headers, hence we re-base our warning fix patches on
every upgrade, which is a pointless exercise in frustration.

Most of the patches are for GCC/Clang warnings, where we could use
-isystem to suppress the warnings (with corresponding hacks in the build
system, because -isystem also disables dependency generation) - but
clang-cl does not support -isystem.

So generate a bunch of wrapper headers into external/boost/include, that
disable all known warnings and use #include_next to get the real boost
header. This allows us to get rid of most of the existing patches.

There is however a bug in GCC that preprocessor warnings like -Wundef
cannot be disabled with a #pragma, so those patches cannot be removed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

Change-Id: I2992bf4a463015f1140489df867bd80757f84541
Reviewed-on: https://gerrit.libreoffice.org/25563
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-30 15:34:51 +00:00
Michael Stahl
aa0b05f185 boost: remove boost.std.move.patch
Apparently required only on obsolete/unsupported Mac OS X versions.

Change-Id: I68540e3ac0d6830ed42854def0367a17f15feacd
2016-05-30 09:45:43 +02:00
Michael Stahl
e355e54f2f configure: set BOOST_CPPFLAGS also in --without-system-boost case
Simplify the makefiles.

Change-Id: Ia695961e936e4a1ffdaff73eb56adc3c3905ed0c
2016-05-30 09:45:43 +02:00
Michael Stahl
423f709ad7 boost: remove patches for headers that are no longer used
The following libraries are mostly or completely unused on current
master, in MSVC 2013 and GCC builds:

* crc
* dynamic_bitset
* ptr_container
* random
* signal2

That's much less removal than we hoped, but it turns out that a lot of
boost headers include other boost headers, so removing includes in LO
code only goes this far.

Also move one property_tree hunk from a wrong patch file to more
approriate one.

Change-Id: I6ad3a5987b025a57ca92402cca9a0e1f659128e9
Reviewed-on: https://gerrit.libreoffice.org/25513
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-26 18:25:55 +00:00
Akash Jain
9364a49a87 Add option to enable HarfBuzz support independent of platform
Make HarfBuzz compile on any platform using the --with-harfbuzz
option. Support is experimental only.

Change-Id: I84fb80f3f8abed8ac877a294cf7ef39cf4cb2e9e
Reviewed-on: https://gerrit.libreoffice.org/25369
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-05-24 20:59:44 +00:00
Rene Engelhard
e097ec339f respect verbose in external/libxmlsec/ExternalProject_xmlsec.mk
as for the other external libs

Change-Id: I3d397b3d0afde3df9032cf52dd82d59427924c20
2016-05-24 21:18:50 +02:00
Michael Stahl
469aa7fb9e libxml2: upgrade to release 2.9.4
Change-Id: Ia3109b704155b9baa28f2a5f224e55af161f4fa1
Reviewed-on: https://gerrit.libreoffice.org/25412
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-24 18:31:23 +00:00
Caolán McNamara
b33fb0a8a0 CVE-2016-0718 and CVE-2015-1283 expat woes
Change-Id: I83691e616bf964db2cb1e708b57f65b92ea2697e
Reviewed-on: https://gerrit.libreoffice.org/25401
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-24 13:23:27 +00:00
Markus Mohrhard
238bb82f59 add missing file for breakpad library
Change-Id: I1e88b2c9d6ab91a43d03b3f87ba4e83842f2ac03
2016-05-21 04:15:59 +02:00
Szymon Kłos
511db54e95 tdf#87938 libcmis: Google 2FA implementation
2 Factor Authentication for Google Drive, changes:
+ parsing additional page with challenge - pin code verification
+ calling the interaction dialog requesting the code
+ dialog title changed to more general: Authentication Code
+ dialog shows url field only if not empty

Change-Id: Idb3ebbad6a12849b9e50af87b46324bfbe966bab
Reviewed-on: https://gerrit.libreoffice.org/25002
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-05-16 07:24:23 +00:00
Kohei Yoshida
db729f3b68 Update mdds to 1.2.0. Note that the API version is also up.
liborcus-0.11.2 is out only to make it buildable with mdds-1.2.

Change-Id: I9648d827b008da252c57be0ebfd2efccb008ac70
Reviewed-on: https://gerrit.libreoffice.org/24944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-05-13 00:35:20 +00:00
Caolán McNamara
52909035af have another stab at fixing the -Wimplicit-fallthrough in json_parser
without triggering a -Wimplicit-fallthrough in unreachable code

Change-Id: I971272ffcf87d7224265a9a3ae87fcf8129c7a7a
2016-05-12 12:37:53 +01:00
Caolán McNamara
eacea16a6c have a stab at fixing the -Wimplicit-fallthrough in json_parser
Change-Id: I2e6909cd804159a3540de4eb8ddecc1bd9131457
2016-05-12 11:36:31 +01:00
Stephan Bergmann
4e8a0a75f4 Missing include
Change-Id: If7abf2ad3ac738e7103491e38a0e53ba424f5550
2016-05-11 09:44:40 +02:00
Stephan Bergmann
e4bb2b4f48 Note pull request for boost patch
Change-Id: I92a98bb196c9f6e7dfdca7008a34fb4fd3e10799
2016-05-10 16:15:25 +02:00
Stephan Bergmann
fcbd824f1b Use BOOST_FALLTHROUGH in external code
...in preparation of enabling Clang's -Wimplicit-fallthrough

Change-Id: If64f9b18591b3cd2528adc6c2d6011d509d4afcd
2016-05-10 15:25:12 +02:00
David Ostrovsky
e16fa715c4 Handle wchar_t as native C++11 type on windows
The option /Zc:wchar_t- prevented to use wchar_t as a built-in type
according to the C++ standard. In Visual C++ 6.0 and earlier, wchar_t
was not implemented as a built-in type, but was declared in wchar.h as
a typedef for unsigned short. Now, years later after the end of life
this outdated toolchain, there is no reason not to use native type.

The only issue could be the ABI compatibility. But on a quick look at
least, it looks like none of the mangled C++ symbols in the stable URE
interface actually depend on wchar_t.

We forgot to get rid of /Zc:wchar_t- in 5.1. Do that for LibreOffice
5.2, though.

Change-Id: I8d6b380660859efa44c83c830734978d31d756a0
Reviewed-on: https://gerrit.libreoffice.org/22589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-03 19:26:06 +00:00
Caolán McNamara
79acc3da35 bump to hunspell 1.4.1
Change-Id: I20d9abfd73586daf1ed99f0e1a2481840e61f90e
2016-05-03 09:06:23 +01:00
Giuseppe Castagno
3db082a752 Related tdf#98416 Libcmis: add a patch to fix Google Drive login
The new Google login sequence uses two html pages: one for user email
the other for password.

The older sequence used only one page for both user email and
user password.

Change-Id: If875ba3ec9680d7e8c700a269873e427ac037a8e
Reviewed-on: https://gerrit.libreoffice.org/24513
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-05-02 10:57:40 +00:00
Norbert Thiebaud
7aa67d528b glew: honor TMPDIR
Change-Id: Id5c20ec78dcde0144bd7718b7e9825b92ed70f3f
Reviewed-on: https://gerrit.libreoffice.org/24582
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-05-02 07:59:25 +00:00
David Tardon
36ef03797a pass original flags
Change-Id: Ice0d7744f51a1170bf1ed246d5b31db05a9a9bca
2016-04-22 15:58:24 +02:00
David Tardon
334599030e pass original CFLAGS
Change-Id: I1a2e9d41226822934b64ad31a61c816b3163a9ed
2016-04-22 14:54:57 +02:00
David Tardon
590d80cea8 pass original CFLAGS
Change-Id: Ia37fa1ad21a9411d78b0c30c769b3934d43d1389
2016-04-22 14:32:07 +02:00
Tomaž Vajngerl
334e2dc9c3 opencl: better logging of devices and device selection
changes:
- Clew misses a lot of things, added defines needed for gathering
  platform and device info.
- Refactored profile saving and loading to use libxml2 instead
  the weird type of saving the profile data.
- Added an additional "log" file which is similar to the OpenGL
  but it writes the OpenCL relevant information like which devices
  and platforms are available (+ all the extra useful version
  information) and which device was selected (if any at all).

Change-Id: I0fe793c756f8f4f1761fe120fc361df36e581903
Reviewed-on: https://gerrit.libreoffice.org/24270
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-04-22 11:27:05 +00:00
Miklos Vajna
f7aa4344e4 libxmlsec: split the upstreamed part of xmlsec1-vc.patch.1 into a new patch
Change-Id: I1a6201a21cdf3a42475487a42cd80d11cd5e42b6
Reviewed-on: https://gerrit.libreoffice.org/24253
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-20 07:35:48 +00:00
Martin Hosken
4e066825d4 reactivate ICU Khmer patch
Patch has been upstreamed with
https://ssl.icu-project.org/trac/ticket/12504

Change-Id: I1f3ddad87a2a6568ced3f9d2b2df3e0af0ee18aa
Reviewed-on: https://gerrit.libreoffice.org/24117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Martin Hosken <martin_hosken@sil.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-18 12:50:32 +00:00
Caolán McNamara
072b32442e try next hunspell 1.4.0 prerelease milestone
try using reverse iterators here then

and remove dictmgr which we don't seem to use or need

Change-Id: I981fccc4ca7562d5ab707dc2f605e409169dec07
2016-04-18 09:32:39 +01:00
Michael Stahl
e63f6503fc hunspell: MSVC debug runtime iterators don't want to decrement past begin()
Change-Id: I258dc551d14ba72113b284be3566ba924434ab4c
2016-04-15 23:41:44 +02:00
Caolán McNamara
1098921996 test pre 1.4.0 hunspell
Change-Id: Ied87b41ec02b993fd08ac13f325b9489b6f07456
2016-04-15 16:40:52 +01:00