Commit graph

415794 commits

Author SHA1 Message Date
Katarina Behrens
d938e1ab00 gpg4libre: translatable strings for non-LibO filepickers
just strings, code using them is yet to be implemented

Change-Id: I03b2c44f574b3212b39bf4aabedf01c577f35de9
Reviewed-on: https://gerrit.libreoffice.org/45156
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-23 17:48:45 +01:00
Stephan Bergmann
474c6ba06e loplugin:unnecessaryparen
Change-Id: Id49d107e4f8ddbe7f49d7ddfefb7e13344c9ac4f
2017-11-23 17:29:55 +01:00
Jean-Pierre Ledure
008673c23d Access2Base - FIX OutputStringToHtml
Remove useless ConvertToUrl function
2017-11-23 16:42:40 +01:00
Katarina Behrens
9d06ffadbe gpg4libre: UI and config for adding GPG keys to user's identity
Change-Id: I1a176ca998f49b68c6ca8129fba4eb56445892a2
Reviewed-on: https://gerrit.libreoffice.org/45145
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 16:18:34 +01:00
heiko tietze
e27e6720ac tdf#90794 Position of progress bar on high res screens
Introduced two new consts

Change-Id: I15e01eabe9fd3225c36d06cbb59310a07a30f2c1
Reviewed-on: https://gerrit.libreoffice.org/45105
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-11-23 16:08:51 +01:00
Tor Lillqvist
2923cb0b5b Move the need for several ugly const_casts deeper down to just one place
Change-Id: I2cdd66b9819f070548c2a0af7388d9bfbd3689c1
Reviewed-on: https://gerrit.libreoffice.org/45144
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-11-23 15:29:04 +01:00
Julien Nabet
3f289fef2f tdf#113657: fix crash when trying to format empty paragraph
by creating a function to clean line feeds and returns if it's empty or not

Change-Id: I3a744c52bdb457c92f38595463099e1cbf17a37e
Reviewed-on: https://gerrit.libreoffice.org/44513
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-23 15:15:28 +01:00
Caolán McNamara
c46f0c9f6e Related: tdf#113160 set a temporary dialog parent during type detection
to get warning dialogs that don't block the existing windows but whose
lifecycle can be controlled to avoid crashes during exit

Change-Id: I57965301c3d8a031acb33e83bf7715fe132385d0
Reviewed-on: https://gerrit.libreoffice.org/45044
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 15:13:46 +01:00
Takeshi Abe
e0bd8f3696 xmloff: Drop non-existent XMLTextPropertyHandlerFactory_Impl
Change-Id: I9cef470e0592e1b90d2cc0f2830c60938daf873e
Reviewed-on: https://gerrit.libreoffice.org/45126
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 15:04:05 +01:00
Noel Grandin
94d76cef1f TypedWhichId create custom get methods in ScPatternAttr
Change-Id: Iaa326332f5806477dd81463e6b6004a962bac934
Reviewed-on: https://gerrit.libreoffice.org/45128
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 15:03:25 +01:00
Noel Grandin
e0846b7abe loplugin:simplifybool can't invert conditions involving float types
so revert some of the changes from

    commit 7a1c21e53f
    loplugin:simplifybool for negation of comparison operator

Change-Id: I937d575b86c1e418805d399b0dc16ae91876b4fe
Reviewed-on: https://gerrit.libreoffice.org/45130
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 14:11:24 +01:00
Stephan Bergmann
1db2cdd971 loplugin:unnecessaryparen
Change-Id: Iddf5ed0a611f6dec4d30d056729dfd6dcd1f37d9
2017-11-23 13:55:01 +01:00
Stephan Bergmann
9017fee657 loplugin:simplifybool
Change-Id: If6084771aaa9d2bdc7ffca7550749cbb3bf8e084
2017-11-23 13:54:29 +01:00
Timotej Lazar
6a97d9c4d9 tdf#112689 Replace chained O(U)StringBuffer::append with operator+
Change-Id: Iea9a6e2104966bd47f09a82df9b01f065f678d17
Reviewed-on: https://gerrit.libreoffice.org/45079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 13:39:38 +01:00
Thorsten Behrens
db2111d207 gpg4libre: package gpgme spawn helper for Windows
Change-Id: If8dbe10b87d329fab3639392f6c352bce75c54c1
Reviewed-on: https://gerrit.libreoffice.org/45127
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-23 12:48:44 +01:00
Yousuf Philips
b2f79f363c tdf#50746 add paste unformatted to menu and context menu
also unified menus and context menus in writer and calc

Change-Id: I929df7a0fe2be7b8bf58cf048e53536ea89d5c9c
Reviewed-on: https://gerrit.libreoffice.org/45095
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-23 12:19:42 +01:00
Thorsten Behrens
43ac50dccc gpg4libre: conditional-compile gpgme code
Change-Id: I1d139a7b6df271d61bedd107c6b3a0535d233606
Reviewed-on: https://gerrit.libreoffice.org/45124
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-23 12:13:43 +01:00
Stephan Bergmann
eeb0ea67d2 loplugin:simplifybool
Change-Id: I2e340824db3e1e5197a23e567e4b88b64136562f
2017-11-23 11:23:39 +01:00
Julien Nabet
ad0fc224ac Disabled slot with Put leaks entry (tabvwsha/sc)
Same as https://cgit.freedesktop.org/libreoffice/core/commit/?id=21dde7a09e2cfe7b48d2fec1edc7a94fa94af5c3

Change-Id: Ie4e3fcf097a6aa7b9a019947a677701723f98bf3
Reviewed-on: https://gerrit.libreoffice.org/45052
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 11:08:20 +01:00
Samuel Mehrbrodt
a8e83ce1d8 Convert fprintf to SAL_WARN / SAL_INFO
Change-Id: Ibdc67eb7af83c9ffa29531a20f68efce578f3e47
Reviewed-on: https://gerrit.libreoffice.org/45082
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-23 10:44:52 +01:00
Miklos Vajna
f85859d214 vim-ide-integration: -I<dir> workaround is no longer needed
Since commit ecbaf98062 (-I$(dir $(3)) in
gb_CObject__command_pattern is no longer needed, 2017-11-01).

Change-Id: I9d6b7436f7b6e865d37e358adb9cf075e4e51bff
2017-11-23 10:27:41 +01:00
Stephan Bergmann
52dbe0c99b Make not warning about !! in loplugin:simplifybool consistent
...so that 640e03da11 "loplugin:simplifybool re-
activate the !! warning", which did not warn about

  !!( nAttribs & ucb::ContentInfoAttribute::KIND_FOLDER )

in ucb/source/core/ucbcmds.cxx (involving sal_Int32 and sal_Int16), would not
have warned about

  !!(nMode & nUpdateMode)

in sfx2/source/appl/workwin.cxx (ivolving o3tl::typed_flags<SfxVisibilityFlags>)
either.

Change-Id: Ibe955592951a04b1bd9a9b4e8cc502024bc1d460
Reviewed-on: https://gerrit.libreoffice.org/45083
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 10:03:16 +01:00
Stephan Bergmann
b26012ef15 Make loplugin:unnecessaryparen look through implicit
...similar to how <https://gerrit.libreoffice.org/#/c/45083/2> "Make not warning
about !! in loplugin:simplifybool consistent" does for loplugin:simplifybool

Change-Id: I23eef400af71c582d380c9bae6546ce06e8a1e18
Reviewed-on: https://gerrit.libreoffice.org/45122
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 10:00:44 +01:00
Miklos Vajna
bfaf5740bb ios: blacklist newly pushed non-formatted files
Commit ed885a3cdb (iOS, do not use
different C compilers, 2017-11-23) was pushed directly and clang-format
wasn't used locally, either -- so just blacklist these new files.

Change-Id: Id6e39e68ac112494139e982ebcf7c32531184ec2
2017-11-23 09:57:44 +01:00
Caolán McNamara
6d5aeece56 move preventduplicateinteraction from framework to sfx2 consumer
Change-Id: I1388a88ba20b5cde65cd1d88694775b071a0dff6
Reviewed-on: https://gerrit.libreoffice.org/45099
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 09:52:15 +01:00
Jens Carl
a8681f24d7 tdf#45904 Move _XScenarioEnhanced Java test to C++
Change-Id: Ibc99dc0d50e612bc6cdebaf5f9c5f828e5af859f
Reviewed-on: https://gerrit.libreoffice.org/45123
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-11-23 09:51:49 +01:00
Julien Nabet
d3c607b4bb Replace list by vector in incomingrequest (binaryurp)
Change-Id: Ic08f45f614cfa4643b55142e85e8eeac223abd82
Reviewed-on: https://gerrit.libreoffice.org/44893
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 09:32:45 +01:00
Tor Lillqvist
b469ba0e76 Don't warn about the installer unless we are building an installer
Change-Id: Iefb40baab9eeaab6923a0f95681466afc6dc6643
2017-11-23 10:05:25 +02:00
jan Iversen
ed885a3cdb iOS, do not use different C compilers
LibreOfficeKit.c was compiled with an xcode project and not like
all other sources. Changed to use clang with same switches as
rest of LO.

Separated resource generation in own makefile

Removed project LibreOfficeKit which was responsible for prelink.

Change-Id: Iaf9fbb4b652501af0b7f3643ed3efcc2ed93b611
2017-11-23 08:53:39 +01:00
jan Iversen
62da53e52c iOS, unicode not used in swift interface
remove include not needed

Change-Id: Ibad12f510a5d947ba2754dae192413852e63ab03
2017-11-23 08:53:39 +01:00
jan Iversen
8d18f1e98b iOS, cleaned unused parameter
Change-Id: Iac097d9a4578ef7dcb47006a422703ab06a8284e
2017-11-23 08:53:39 +01:00
Jens Carl
39c5ade7bb tdf#45904 Move _XSheetAuditing Java tests to C++
Change-Id: I057447494ff488546d43d2d3068a65d5c0d402e0
Reviewed-on: https://gerrit.libreoffice.org/45120
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-11-23 08:41:48 +01:00
Stephan Bergmann
0e2f224d07 An anonymous GraphicObject instance suffices here
Change-Id: I13156c3194497a2e554cdfe3a92a4ff83e0ea2f1
Reviewed-on: https://gerrit.libreoffice.org/45073
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 07:54:33 +01:00
Stephan Bergmann
d7f2de780e put GraphicObject on stack instead of heap
Change-Id: Ia673a88a397d3a4e5c3b2ff31a60d04ea9e70d1f
Reviewed-on: https://gerrit.libreoffice.org/45062
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 07:54:05 +01:00
Stephan Bergmann
1f56087504 reduce scope of var
Change-Id: If9f4974fa1bf664b14c81e243f7dcd36abd3a1ce
Reviewed-on: https://gerrit.libreoffice.org/45061
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 07:53:45 +01:00
Stephan Bergmann
c7e0f494bf use std::unique_ptr
Change-Id: I28e3f253cc8d0d35275c6aa3bcf17a93e2f0c631
Reviewed-on: https://gerrit.libreoffice.org/45060
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 07:53:30 +01:00
Julien Nabet
4ccddab6ef Replace some lists by vectors in vcl/headless
+use for range loops when loops included "std::list"

Change-Id: Ic261571ef64b1a710233ff949c4feeb3cc4756cd
Reviewed-on: https://gerrit.libreoffice.org/45109
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 07:05:46 +01:00
Julien Nabet
3c508bf9fc Replace list by vector for m_aJPGs pdfwriter_impl (vcl)
+use for range loop just for the loop containing "std::list"

Change-Id: Ie30dc016e9a001d0bb4ecd31a75749093326e2f6
Reviewed-on: https://gerrit.libreoffice.org/45112
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 07:05:03 +01:00
Julien Nabet
86cda9ab3c Revert partly 9d1f61a618
The use of erase/remove idiom is wrong here since "there can be multiple
registrations of the same listener"

See Stephan's comments in https://gerrit.libreoffice.org/#/c/44892/3/binaryurp/source/bridge.cxx

Change-Id: Iebf979ca25520392ba9de6439d5bf19b8e3446b2
Reviewed-on: https://gerrit.libreoffice.org/45104
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 07:03:58 +01:00
Noel Grandin
a675428e34 TypedWhichId for sc constants
Change-Id: I25a07d84ae24fdd3b4fbd303beea755169eb9acb
Reviewed-on: https://gerrit.libreoffice.org/45084
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 07:02:59 +01:00
Noel Grandin
7a1c21e53f loplugin:simplifybool for negation of comparison operator
Change-Id: Ie56daf560185274754afbc7a09c432b5c2793791
Reviewed-on: https://gerrit.libreoffice.org/45068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 06:59:31 +01:00
Stephan Bergmann
c24c32bf71 ofz#4366 Divide-by-zero
Change-Id: I3d0eb3bb6a69d09e71ce8bf91051f66e204eb0df
Reviewed-on: https://gerrit.libreoffice.org/45098
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-22 23:59:52 +01:00
Christian Lohmaier
54e1441949 cairo: drop no longer needed patch for android
Change-Id: I7f52cc8686556e21b9d2b5fdf43ce13307bcfac0
2017-11-22 23:15:02 +01:00
Michael Meeks
df755b1b39 Avoid using the hideous std::stack -> deque inside ::Interpret
dequeue loves to allocate and free memory crazily, vector is much saner.

Change-Id: Idcd2c1d693594f280ce94423161651502f25dc2d
Reviewed-on: https://gerrit.libreoffice.org/45086
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-11-22 22:08:02 +01:00
Michael Meeks
7ced0f88e0 Don't re-create the interpreter context for each row.
Change-Id: I272c9dc09806d47add26866f517e6ea07282c35f
Reviewed-on: https://gerrit.libreoffice.org/45087
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-11-22 22:04:25 +01:00
Christian Lohmaier
dbe2747322 Updated core
Project: translations  a0c08eb77f9fd9e3b53f5c40abb554e83195fa27

update translations for 6.0 beta1

and force-fix errors using pocheck

Change-Id: Ie5900800b8c1f0e6064d00b2b028afcf51e84e20
2017-11-22 21:23:36 +01:00
qzheng
1783b33b52 tdf#112689 Replace chained O(U)StringBuffer::append with operator+
Change OUStringBuffer::append() to operator+.

Change-Id: I13232cb69b1d62acfcf15d5ba5a2d72e5ab5d253
Reviewed-on: https://gerrit.libreoffice.org/44703
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-22 21:18:41 +01:00
Eike Rathke
95da9d4c8f Follow our naming conventions, tdf#39593 follow-up
Change-Id: Iee95b5bf0dd42169447163a41be5b2aa1899e83c
2017-11-22 21:14:35 +01:00
Noel Grandin
5ee141ee2f tdf#113935 Switching from read-only to edit mode slow
Regression introduced by

    commit 389da66dfc
    remove unused uno::Reference vars

I'm guessing this variable keeps some kind of cache alive which prevents
us from re-parsing the PDF file when we switch to edit mode - which is
clearly what we are doing when I remove the line.

Change-Id: Iea2cf9640d876028a78806e717b930d4a063dc9b
Reviewed-on: https://gerrit.libreoffice.org/45093
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22 20:41:21 +01:00
Stephan Bergmann
72ef2b5d98 Make loplugin:unnecessaryparen warn about (x) ? ... : ... after all
...which had been left out because "lots of our code uses this style, which I'm
loathe to bulk-fix as yet", but now in
<https://gerrit.libreoffice.org/#/c/45060/1/> "use std::unique_ptr" would have
caused an otherwise innocent-looking code change to trigger a
loplugin:unnecessaryparen warning for

  pFormat = (pGrfObj)
      ? ...

(barring a change to ignoreAllImplicit in
compilerplugins/clang/unnecessaryparen.cxx similar to that in
<https://gerrit.libreoffice.org/#/c/45083/2> "Make not warning about !! in
loplugin:simplifybool consistent", which should also have caused the warning to
disappear for the modified code, IIUC).

Change-Id: I8bff0cc11bbb839ef06d07b8d9237f150804fec2
Reviewed-on: https://gerrit.libreoffice.org/45088
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-22 19:16:52 +01:00