Commit graph

415794 commits

Author SHA1 Message Date
jan Iversen
b140f92531 iOS, remove unused script.
This script is no longer used for the iOS development,
and in order to prevent anybody wasting time porting it,
it is nuked.

Change-Id: I46d520fa9b8aeabee78cfe1f02a25e4d1ead3d7f
2017-11-22 18:59:33 +01:00
Thorsten Behrens
c11c7c4765 fix build
Change-Id: Ibb83ef0bb6a304f2e78a669502a1bdd1f6dcc4bd
2017-11-22 18:17:36 +01:00
Thorsten Behrens
c8833fd9df gpg4libre: enable gpgme support for Windows and OSX
Change-Id: Ifa266e1c18a8a09cd5c815adc70d0236e00f72b5
Reviewed-on: https://gerrit.libreoffice.org/45092
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:58:36 +01:00
Thorsten Behrens
17c7d87643 gpg4libre: fix warnings
This code was not previously built on Windows

Change-Id: I9394907f143d862f40c95672f4e3398b65b7bd2c
Reviewed-on: https://gerrit.libreoffice.org/45091
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:57:56 +01:00
Thorsten Behrens
50a55d8620 gpg4libre: cleanup gpgme & add gbuild lib for gpgmepp
This moves the external to gpgmepp, since that's what we _actually_
link against; plus tons of enablement for Windows build, mostly
related to linker probs integration.

There's still no good way to build a DLL with autotools, so we fall
back to gbuild manual make, see also tdf#91480

Change-Id: Ifd8217ef58536612d2389d48e343db133a13fb9c
Reviewed-on: https://gerrit.libreoffice.org/44970
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:57:08 +01:00
David Ostrovsky
bafbaa3fed gpg4libre: build gpgme natively on windows
Change-Id: I0b77ba0c1b8f84affa483181e26a26beaf39e878
Reviewed-on: https://gerrit.libreoffice.org/42838
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:56:08 +01:00
David Ostrovsky
5f981d30e2 gpg4libre: build libassuan natively on windows
Change-Id: Id374ebc5ed70a1b4313dc74461524ac2b864b114
Reviewed-on: https://gerrit.libreoffice.org/42745
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:54:58 +01:00
Thorsten Behrens
4be15fdd79 gpg4libre: build libgpg-error natively on windows
Change-Id: I479b79a7626469169af582dc79c4e99dc4620546
Reviewed-on: https://gerrit.libreoffice.org/34530
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:54:02 +01:00
Caolán McNamara
1dcfa88c30 ofz#4386/ofz#4387 Abrt
Change-Id: I2ed1ade1322102a0d6ac623156b9d3c2084b481c
Reviewed-on: https://gerrit.libreoffice.org/45102
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 17:53:28 +01:00
Dennis Francis
df5a0a62a3 clang-format on non-blacklisted file interpretercontext.hxx
which is a new header file introduced in calc formulagroup threading
work.

Change-Id: I8203ce392b36581f64457edb52449df3e84fb216
Reviewed-on: https://gerrit.libreoffice.org/45080
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-22 16:58:54 +01:00
Stephan Bergmann
2da9e68369 Help old GCC
Change-Id: I29093aa7975394b74952a4856632e8e657b33ae0
2017-11-22 16:40:57 +01:00
Caolán McNamara
366e35799d fuzzing: common case of embedded charts in docx
Change-Id: Idc6fdc221ce60e33e6b9fcb1689840dd96570d6b
Reviewed-on: https://gerrit.libreoffice.org/45089
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 16:20:41 +01:00
Christian Lohmaier
74b77481b4 fix duplicate strings in notebookbar ui
Change-Id: I13ba872b8d3b8108384dc0fa4436ccaa1eedefa8
2017-11-22 15:56:26 +01:00
Caolán McNamara
129852d379 turn some eof checks to eof or error
Change-Id: I4592d7aa86c2cc2f420bccc622ffb95aa5cefa17
Reviewed-on: https://gerrit.libreoffice.org/45077
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 15:55:55 +01:00
Caolán McNamara
97f087f4b2 ofz#4381 Divide-by-zero
Change-Id: I608ea751cec11935f37b625ebde0798f8887e225
Reviewed-on: https://gerrit.libreoffice.org/45081
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 15:55:17 +01:00
Arkadiy Illarionov
0c358f71e2 Modernize benchmark-document-loading script
- use argparse instead of getopt
 - use with statement for opening files
 - refactor writeReport function to reduce copypaste
 - various fixes to make code more pythonic

Change-Id: I6569dfc856040e1e75b550135f4092cc27bef7f5
Reviewed-on: https://gerrit.libreoffice.org/43644
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-22 15:19:43 +01:00
jan Iversen
7329b4423c cpuid is only for x86 processors.
clang for macOS did not like cpuid when compiling for arm cpu.

Change-Id: Iede658a524e5c3e1aa2d33137ed399679b021987
2017-11-22 14:49:31 +01:00
Christian Lohmaier
57768926f3 add missing context to translatable strings in .ui file
Change-Id: I52f01046ccc1da8aec483766371e12fe06c82b8a
2017-11-22 13:33:38 +01:00
Caolán McNamara
df2e78f1a8 replace check of eof and GetError with good
Change-Id: I7d9f04262ab5420e9a14813fa1274bb9d01e3291
Reviewed-on: https://gerrit.libreoffice.org/45076
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 13:33:46 +01:00
Caolán McNamara
2161d04688 drop duplicate method
Change-Id: Idadd0a64e41cd02f5167b275081c3576a6224b12
Reviewed-on: https://gerrit.libreoffice.org/45075
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 13:33:25 +01:00
Caolán McNamara
041e1ba318 good() includes !IsEof() already
Change-Id: I6eddd347333638c0a8ea924e6062f8e4d379a20e
Reviewed-on: https://gerrit.libreoffice.org/45074
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 12:51:14 +01:00
Noel Grandin
3fbbd74b7b loplugin:flatten in svx
Change-Id: Idc4d0186ecc6f0722c2b1358486a2430f037ae29
Reviewed-on: https://gerrit.libreoffice.org/45036
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 12:15:38 +01:00
Yousuf Philips
4b7490fe49 tdf#113880 a11y: improve accessibility of table background tab
Change-Id: I978340f88a8e007dbf080113a933063c5546fd51
Reviewed-on: https://gerrit.libreoffice.org/45011
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-22 12:05:05 +01:00
Muhammet Kara
3b4d2cfaaf tdf#112207: Allow assigning styles to ui elements
Change-Id: I777059e2c5139dcf1b24504023fb417b9b56b3d8
Reviewed-on: https://gerrit.libreoffice.org/42594
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-22 12:01:19 +01:00
Noel Grandin
1ae61b0ac4 loplugin:flatten in svtools
almost completely automatically rewritten, only had to tweak
the indentation on a couple of lines.

Change-Id: Ieec92e5b602d180d7ec556e3421ce3c835c1f646
Reviewed-on: https://gerrit.libreoffice.org/45072
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 11:54:12 +01:00
Noel Grandin
04bb9549e0 loplugin:flatten look for large if statement at end of function
the rewriter is capable of flattening the function
by returning early, and inverting simple conditions. More
complex conditions are just wrapped in "!(x)"

Change-Id: I028fd7b018dc7347c1b323b2a73ab99c18508faa
Reviewed-on: https://gerrit.libreoffice.org/45071
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 11:54:04 +01:00
jan Iversen
ede08b49c6 iOS, update icons to support new models
Update of icons and start image (xib file not png)

Change-Id: I172c4e6eb0f27d6dd05b9eb28b2e352f29578279
2017-11-22 11:48:33 +01:00
jan Iversen
7af059fbbe iOS, update app project.
Adjustments to cope with schemes.

Change-Id: Ifbe50658299927d66886fc88753db5544e1f93d6
2017-11-22 11:48:33 +01:00
jan Iversen
965cd360bf iOS, update loApp.xcconfig path
Path is now relative to core directory, as documented

Change-Id: Ib731e8c650dd600932516cfda2e9545b04609994
2017-11-22 11:48:33 +01:00
jan Iversen
0f9dd1c5f2 iOS, icudt59.dat => icudt60.dat
Updated copy of icu dat file, due to version change

Change-Id: I12885de019fa00f0816b9c31a30d02e73821be33
2017-11-22 11:48:33 +01:00
jan Iversen
1b36048a42 iOS, changed debugger from to lldb
gdb2 does not work well when using a swift based frontend.
changing to default debugger but only for iOS.

Change-Id: Iae0df85b9db4b3dfaf9fbc0e42848c52f3685a48
2017-11-22 11:48:33 +01:00
Caolán McNamara
67304b83a7 ofz#4372 Undefined-shift
upstreamed as https://bugs.freedesktop.org/show_bug.cgi?id=103845

Change-Id: I48430b2ab62991345863bceeaf3a6918f9dd1fda
Reviewed-on: https://gerrit.libreoffice.org/45078
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 11:39:10 +01:00
Stephan Bergmann
0717f32de0 Missing GraphicObject destruction, memory leak
...causes e.g. a leftover temp file like
_anonymous_namespace___WpftWriterFilterTest__test_9m9gdo.tmp in $TMPDIR during
CppunitTest_writerperfect_writer's processing of
writerperfect/qa/unit/data/writer/libwps/Write_3.1.wri.

The code lacking the delete was originally introduced with
e3911a61e6 "INTEGRATION: CWS fwk59: #i63867# let
the replacement image be imported", then heavily modified with
ec8258f3b7 "INTEGRATION: CWS xmlfilter06".

Change-Id: Ie0830d5f358e6d81efe0bb9ef04d6a206bd27201
Reviewed-on: https://gerrit.libreoffice.org/45059
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-22 11:35:50 +01:00
tagezi
2f34bec2a7 tdf#39593 deduplicate code in ScOutputData
Change-Id: Ie7efcdf23e65b2047af7972756c2ba11cc178672
Reviewed-on: https://gerrit.libreoffice.org/45064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-22 11:32:10 +01:00
Miklos Vajna
fd61509152 RTF filter: drop now redundant astyle.options
I (tried to) keep the RTF filter style consistent locally with astyle in
the past, but now that's redundant when we have an enforcing
clang-format mechanism in place. So drop the astyle config and switch to
clang-format in the RTF filter case.

To minimize backport pain, do this shortly before the libreoffice-6-0
branch-off.

Change-Id: I708dbeb0b5ad2afacc90029ee5abba9495f4601f
2017-11-22 11:24:24 +01:00
Caolán McNamara
9ffa900cb4 ofz#4361 Integer-overflow
Change-Id: I7b41a53622e2e87dc0998a4a181bb8e49ef8d277
Reviewed-on: https://gerrit.libreoffice.org/45046
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-22 10:51:18 +01:00
Miklos Vajna
e8c20aafb1 xmlsecurity mscrypt: use SAL_N_ELEMENTS()
Change-Id: I39ddffc48c169ca5c95b4cc6b4799530c5d1984e
Reviewed-on: https://gerrit.libreoffice.org/45069
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-22 10:28:10 +01:00
Gabor Kelemen
67fd1ea445 Fix Java wizard HID list
A still actively used HID was accidentally removed in commit:
https://cgit.freedesktop.org/libreoffice/core/commit/wizards/com/sun/star/wizards/common/HelpIds.java?id=82d863b4a410fa78120d2efc41bd2b3b61f21cee
This caused some HIDs in the Form wizard to slide off by one

Change-Id: I0142a150f1c65456ba9affe5d997ddabe37d1b3e
Reviewed-on: https://gerrit.libreoffice.org/45057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-22 10:22:37 +01:00
Szymon Kłos
fd51f01dbc tdf#86087 fix relative link open on linux
Change-Id: I6bf2d6bd50b9f1ed7a2c3f66fc18598aa7ffe3d6
Reviewed-on: https://gerrit.libreoffice.org/45053
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-22 10:09:25 +01:00
Stephan Bergmann
5640ef1100 There appears to be no reason to ignore macros in these parts of...
...loplugin:unnecessaryparen

Change-Id: I473a1e16cf9f485a61af5477aca22798996253a3
2017-11-22 09:54:10 +01:00
Andrea Gelmini
1d9eed341d Fix typo
Change-Id: I591214b246f7702e52f71b95cdc2255bc296224b
Reviewed-on: https://gerrit.libreoffice.org/45063
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-22 09:10:42 +01:00
Gabor Kelemen
39d9bdb1e3 Updated core
Project: help  d2dec6e9c5aafcc2b64a74bb496d42a965531dff

Fix Form Wizard HIDs

- Add missing HIDs
- Remove unnecessary ahelps
- Remove old comments
- Use dot ahelp where needed

Change-Id: Id97e2220b3722555606fac09e1947ad55c11a4f3
Reviewed-on: https://gerrit.libreoffice.org/45058
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-11-22 08:57:49 +01:00
Noel Grandin
f1a55c4bfc TypedWhichId for SDRATTR* constants (3)
Change-Id: Iea72cb3a4bbf693096de46269f58259b5952eedb
Reviewed-on: https://gerrit.libreoffice.org/45024
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 08:33:08 +01:00
Takeshi Abe
02393281b6 xmloff: These arrays are constant
Change-Id: I834e23610facb8b4b35f0a377e33b744e7725d1f
Reviewed-on: https://gerrit.libreoffice.org/45066
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 07:46:29 +01:00
Noel Grandin
640e03da11 loplugin:simplifybool re-activate the !! warning
Change-Id: Iac7d82a1c228734177be536e9a6c41803c03637b
Reviewed-on: https://gerrit.libreoffice.org/45035
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 07:44:16 +01:00
tagezi
a0ebba3d88 tdf#39593 deduplicate code in ExplicitValueProvider
Change-Id: I0525761b0d1359b3e0f249cef02e1818af95156b
Reviewed-on: https://gerrit.libreoffice.org/45037
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-22 05:53:03 +01:00
Yousuf Philips
921c8f5013 Remove space before colon in gradient tab of area tab
Change-Id: I9699d4065850f953e71a581488d0ca7cc62351f8
Reviewed-on: https://gerrit.libreoffice.org/45034
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-11-21 22:31:36 +01:00
Eike Rathke
b3ff2c7be0 ofz#4305 do not read past end of file
Change-Id: I7e048c012296fc080434e527c533ea987184699b
2017-11-21 21:21:22 +01:00
heiko tietze
e21f7f7ef0 tdf#112650 Disable 'background settings for all pages'
Code removed to set images as background

Change-Id: I3bad649b503420e2561483fbce1775e4aebdd3a3
Reviewed-on: https://gerrit.libreoffice.org/45001
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-11-21 20:56:46 +01:00
Andrea Gelmini
9288afaa69 Fix typos
Change-Id: I4713dd5c590d331e599b7e9ab88f5cc65e8d7b87
Reviewed-on: https://gerrit.libreoffice.org/45045
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-21 20:29:57 +01:00