Commit graph

415794 commits

Author SHA1 Message Date
Noel Grandin
56379beb1e loplugin:useuniqueptr in DocxExport
Change-Id: Iedc5823d23102569ed32a2a0df4c3c60feaca1f6
Reviewed-on: https://gerrit.libreoffice.org/44823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:11:12 +01:00
Noel Grandin
49e1d1f048 loplugin:useuniqueptr in SwPostItMgr
Change-Id: I567ec14112ee8d5224c19c7616fd8ed06619c228
Reviewed-on: https://gerrit.libreoffice.org/44822
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:11:00 +01:00
Noel Grandin
a9f6478561 loplugin:useuniqueptr in SwTransferable
Change-Id: I803eef7270f8f1a13b253d5ac9ba4d7e41b5adef
Reviewed-on: https://gerrit.libreoffice.org/44821
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:10:48 +01:00
Noel Grandin
54604f0133 loplugin:useuniqueptr in SwNumRulesWithName
Change-Id: If539e9a3d859cea034d53690fdad746479a9f548
Reviewed-on: https://gerrit.libreoffice.org/44820
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:10:40 +01:00
Noel Grandin
ef3a2e634c loplugin:useuniqueptr in MultiSalLayout
Change-Id: I57ac9cf988dfccfcb38c69ca9c66c2ad77bbdada
Reviewed-on: https://gerrit.libreoffice.org/44819
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:10:28 +01:00
Noel Grandin
93117d454a TypedWhichId for EE_PARA* constants
Change-Id: I64d1765336f39c3e3ded4d58ebdee80e97624276
Reviewed-on: https://gerrit.libreoffice.org/44799
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:10:02 +01:00
Noel Grandin
7f055f373b inline SbxMAXSALUINT64 and friends
which don't offer any value

Change-Id: Ie8082abc80ffd0e7719f4fa9a0d5f93203628ee5
Reviewed-on: https://gerrit.libreoffice.org/44798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-17 08:09:50 +01:00
Tomaž Vajngerl
e4969b2b63 TSCP: add category from doc. properties if not found in header
If we selected the classification on the toolbar and then go into
the classification dialog, we need to add the current category
from the doc. properties to the classification result so it is
shown in the dialog automatically.

Change-Id: I80909d39efa61f263fdb7dd10188f8d7ae12d1e0
Reviewed-on: https://gerrit.libreoffice.org/44853
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 07:55:15 +01:00
Tomaž Vajngerl
955412491c TSCP: add "Custom" to the doc properties from class. dialog
Change-Id: I500927b4d5c1165c62477fc5fdfc535f34536ed5
Reviewed-on: https://gerrit.libreoffice.org/44852
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 07:54:57 +01:00
Julien Nabet
d1960cb7db Use auto/for range loops in PostItMgr (second pass)
Change-Id: Ib827968c6194173e107b6b9e72c6545f5de673d2
Reviewed-on: https://gerrit.libreoffice.org/44791
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-17 07:01:58 +01:00
jan Iversen
3f95e90ef3 iOS, updated app icon set
Change-Id: I5995f4caad6b03bad7cbc76e860ea0471572952d
2017-11-17 05:49:40 +01:00
Tomaž Vajngerl
85f2a1e3eb TSCP: disable toolbar pop-up if category was set with dialog
In addition move reading of origin to classificationhelper as we
need to read it there.

Change-Id: I472b073587e68e6896f915477603a25db9b310d3
Reviewed-on: https://gerrit.libreoffice.org/44848
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 05:11:13 +01:00
Tomaž Vajngerl
9da4b3ee82 TSCP: also store the identifier into the recently used XML
Change-Id: I19ccfb8f5118d73535d0e94bf32818d82670d093
Reviewed-on: https://gerrit.libreoffice.org/44847
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 05:10:59 +01:00
Tomaž Vajngerl
195bd0f8ca TSCP: consistently use identifier for category
When identifier is used for category, it is written into the
metadata under a different key. When loading it back, it should
fill the corresponding properties (identifier if identifier key was
used or name if name key was used), otherwise this can lead to
inconsistent behaviour when loading the classification data back
from the file.

Change-Id: Idbd9bde866d117bd7f60bcc224069f00a27fb9e2
Reviewed-on: https://gerrit.libreoffice.org/44846
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 04:53:21 +01:00
Tomaž Vajngerl
5fd90dcf5b TSCP: resolve identifier to name, abbr. name is for category only
In paragraph classification we store only the identifier and not
the name, but for the ClassificationDialog we use the name as an
identifier, so we need to resovle the identifier to the name when
reading in the input classification results. It might make sense
to switch to identifiers in the dialog also as they are language
independent.

Abbreviated name is only for the classification category and has
no effect for other classefication elementslike markers and IP
parts, so always fill them with the full name directly.

Change-Id: I23bd0e8e92b16807a5b4d3162e503b799aa40718
Reviewed-on: https://gerrit.libreoffice.org/44845
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 04:52:53 +01:00
Tomaž Vajngerl
35107521b7 TSCP: simplify key names, prefix with "n" the enumeration keys
Change-Id: I1796b379336812d71ffa7f9ad4ba5d79f6d53bbc
Reviewed-on: https://gerrit.libreoffice.org/44844
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-17 04:52:21 +01:00
Bartosz Kosiorek
d552f67f5e tdf#113704 EMF+ Add support for EmfPlusRecordTypeFillRegion record
Change-Id: I60366d4a27fdf5a3cc020ca54f4a2aa9b974db5e
Reviewed-on: https://gerrit.libreoffice.org/44795
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-11-17 01:41:00 +01:00
Eike Rathke
0f73433b13 Revert "Upgrade to ICU 60.1"
This reverts commit f643e1f687.

Failing in firebird, back to the drawing board..

Change-Id: I087d2fa6e81cf713458b1c9645edc7c1facf148c
Reviewed-on: https://gerrit.libreoffice.org/44843
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2017-11-17 01:25:24 +01:00
Eike Rathke
eb8bd7f211 Resolves: tdf#113889 no date particle reordering when exporting to Excel
Change-Id: I45667a67c6c69106d86755ed41438f23e019dfea
2017-11-17 00:17:04 +01:00
David Tardon
f643e1f687 Upgrade to ICU 60.1
Change-Id: I07837be7faac0b2238b0cba8fb981e4c4d24c498
2017-11-17 00:17:04 +01:00
Andras Timar
26ea47b721 Updated core
Project: translations  ebfb3d16636671ed9576117662108263d0bf168e

Updated Slovenian translation

Change-Id: I510701770ea9e0795d1f8057990c6198678614f4
2017-11-16 23:50:03 +01:00
Markus Mohrhard
f94d98db1b updater: improve message for failed update generation
Change-Id: Iadfcdd58ca77d0906583c63ff81170f54c8c0ecd
2017-11-16 23:19:34 +01:00
Julien Nabet
05fc30e388 Replace some lists by vectors (xmloff)
Change-Id: Ide0270ae0b6a17d7c48c0a9ff7901145e00dca6b
Reviewed-on: https://gerrit.libreoffice.org/44792
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-16 23:01:18 +01:00
Mark Vecsernyes
3e1b9212ad tdf#111740 Wrong preview of graphic bullet symbol in Impress
Change-Id: I9e713163395852478e233227440a802c255b3070
Reviewed-on: https://gerrit.libreoffice.org/44762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-16 22:36:12 +01:00
Bartosz Kosiorek
d0c4cee7e5 tdf#113704 Implement proper reading of the EmfPlusRegionNode
Regions are specified as a binary tree of region nodes, and each node must
either be a terminal node or specify one or two child nodes.

Nodes contains two child nodes:
  RegionNodeDataTypeAnd = 0x00000001,
  RegionNodeDataTypeOr = 0x00000002,
  RegionNodeDataTypeXor = 0x00000003,
  RegionNodeDataTypeExclude = 0x00000004,
  RegionNodeDataTypeComplement = 0x00000005,

Terminal nodes:
  RegionNodeDataTypeRect = 0x10000000,
  RegionNodeDataTypePath = 0x10000001,
  RegionNodeDataTypeEmpty = 0x10000002,
  RegionNodeDataTypeInfinite = 0x10000003

RegionNode must contain at least one element.

Change-Id: I668e5892701b979f09bcf5bbce44a43226676192
Reviewed-on: https://gerrit.libreoffice.org/44324
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-11-16 21:55:54 +01:00
Caolán McNamara
6a7e7c3821 silence coverity#1421084 Uncaught exception
Change-Id: Ib6e8e7cfd9135d6176eac9f43336d5f6c2c6507b
2017-11-16 20:47:41 +00:00
Caolán McNamara
06e23c974d coverity#1421065 Uncaught exception
Change-Id: I68e798a4e7a90bb0cf7709ac84915e7f14f00c1d
Reviewed-on: https://gerrit.libreoffice.org/44778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 21:37:10 +01:00
Andrea Gelmini
a26b6c5a37 Fix typos
Change-Id: I7b6c699b46fb71c1f19b5e5548c22a11efe8b864
Reviewed-on: https://gerrit.libreoffice.org/44836
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-16 21:05:44 +01:00
jan Iversen
66ae44ba3f iOS disable bitcode.
Change-Id: Ibbd5e789155d312c9639b5bb594ca5470314c5c2
2017-11-16 20:26:21 +01:00
Miklos Vajna
ea5339e31c git-hooks: mention download link for clang-format when warning about it
Change-Id: I99f2154bb3d15fe4a99c1d27ca20756e1fb31cec
Reviewed-on: https://gerrit.libreoffice.org/44810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-16 20:24:46 +01:00
Miklos Vajna
38d0142556 vcl: fix typo
Change-Id: I696e3986348034b61b3bbf13fa6db39f2a8f43e0
Reviewed-on: https://gerrit.libreoffice.org/44807
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-16 19:50:53 +01:00
Michael Meeks
fc6231f1d1 vcl: StyleSettings - start to unwind code duplication.
This should be a pure re-factor, plus:

    switch from Serif -> Sans font default for the UI (wow).
    enable larger font size for LOK only
        that avoids a hard to debug svx junit test failure.

Change-Id: Id438026064983ea4907819bab55c4be740954605
Reviewed-on: https://gerrit.libreoffice.org/44625
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-11-16 18:50:28 +01:00
Stephan Bergmann
84e1a01e2d Delete test*.odb files
...that are created in java.io.tmpdir (e.g., /tmp on Linux) by
connectivity.tools.HsqlDatabase.createDBDocument() during e.g.
JunitTest_dbaccess_complex.

This revealed that connectivity.tools.AbstractDatabase.delete() (even if it
would have been called by the test) would have been non-effective at deleting
the file, as the java.io.File constructor used takes a pathname not a file URL
as argument, so the call to java.io.File.delete() would not have deleted the
relevant file (and returned false, rather).

Change-Id: I268e1d1732ac7a0db9ccde7d4ac4f09aa3811e11
Reviewed-on: https://gerrit.libreoffice.org/44801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-16 18:28:36 +01:00
Stephan Bergmann
20f6242b2c Add comment to eventually remove __float128 workaround
Change-Id: I9f786bb34d05febe6c7393bde8ca9d9ce18f41c9
2017-11-16 18:01:23 +01:00
Caolán McNamara
2f672e801b ofz#4243 Timeout
Change-Id: Ib1d06c966d10cef2016522a63272bf5c1670977f
Reviewed-on: https://gerrit.libreoffice.org/44808
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 17:50:31 +01:00
Caolán McNamara
454537e4a2 ofz#4243 Timeout
Change-Id: I00767cfd99634f0ccd22e63cf0d635a2f75bc224
Reviewed-on: https://gerrit.libreoffice.org/44806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 17:41:04 +01:00
Eike Rathke
280a5166ad Straighten use of MAXSTRLEN to be maximum string length
... plus limiting 0-character, and not buffer length in (only)
some cases where max len then was MAXSTRLEN-1, accompanied by a
mix of >= and > comparisons.

Change-Id: I5b8452db52b1d464eb1410e31990043f7997af20
2017-11-16 17:09:20 +01:00
Stephan Bergmann
4ff66e42bf Make checkIdenticalDefaultArguments more precise
...by structurally comparing complex constexpr exprs that use template functions
that happen to not have been instantiated, so Expr::EvaluateAsRValue et al would
fail.  (Which happened with SFX_PRINTER_ALL in SfxViewShell::SetPrinter,
include/sfx2/viewsh.hxx.)

Now all of the LO code base should compile without causing
checkIdenticalDefaultArguments to return Maybe.

Change-Id: I2b103418c2c68f6d2242535c9cca3222a2508778
Reviewed-on: https://gerrit.libreoffice.org/44773
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-16 16:33:24 +01:00
Jean-Pierre Ledure
fa7f2ec536 Access2Base - FIX AllDialogs() should run when no active document
Stopped erroneously with error message "No active connection"
2017-11-16 16:15:05 +01:00
Caolán McNamara
359286b90f ofz#4079 check for error earlier
Change-Id: I141417811b0d64dbf1ad898f9f3a00e4e02d33c8
Reviewed-on: https://gerrit.libreoffice.org/44826
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 15:22:11 +01:00
Stephan Bergmann
4902712243 Avoid infinite loops in loplugin
...introduced with cab6e68369 "Make
checkIdenticalDefaultArguments more precise", causing older Clang to hang when
compiling specific LO source files.

Change-Id: I99cfcad2f0cd9adccd5aa84d21502f586762217f
2017-11-16 15:12:05 +01:00
Caolán McNamara
0d20c6abe9 fail earlier
Change-Id: I8a4f93eea723075103ccdc21e894f44d3bdb7c06
2017-11-16 13:50:24 +00:00
Caolán McNamara
e3b1c791f1 ofz#2977 Timeout
Change-Id: Ib7c00120b97b0d387048a5d8d9d36954e98ffee7
Reviewed-on: https://gerrit.libreoffice.org/44825
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 14:49:01 +01:00
Caolán McNamara
e94988dd8c ofz#3002 set a limit to how broken a jpeg is to give up recovering
take ImageMagicks 1000 warnings as the starting point

Change-Id: Id685764404d27b151daf031a4860055f64dd0915
Reviewed-on: https://gerrit.libreoffice.org/44818
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 14:47:31 +01:00
Caolán McNamara
f7ffc93bf6 ofz: limit depth of hwp parsing
Change-Id: Iba38cdea1fa9f3df4340988184adb1e8058ae931
Reviewed-on: https://gerrit.libreoffice.org/44816
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-16 14:46:23 +01:00
jan Iversen
6085f7a78a iOS, add tile sizing function
Added function to calculate needed tiles.

Change-Id: Ie598f6a5f438dea72c298e769bdba8fd00bbb4bf
2017-11-16 14:29:54 +01:00
jan Iversen
29c21f6dd7 iOS, update LibreOfficeLight version
Getting close to a realistic beta state

Change-Id: I30dddce6b52f622a3295b905d781b6c0543f45f7
2017-11-16 14:29:53 +01:00
Tor Lillqvist
ab99d4611c tdf#113875: Properly export 1bpp greylevel (but not B&W) PNG images to PDF
No idea whether 1bpp non-greylevel (i.e. with two palette entries that aren't shades
of grey) PNG images are mishandled.

Change-Id: I72173c7398db7f0e93c19679e3e392949bf1f4d2
2017-11-16 12:49:22 +02:00
Caolán McNamara
0845ef8cdb ofz#4245 Abrt add more services
Change-Id: I0241ab5a96b0ba2a458eb34c37ea76e23efe839b
2017-11-16 09:34:27 +00:00
Caolán McNamara
04c4e2c705 related ofz#4243 Timeout
Change-Id: I6734c1df06ce1b2cd0fcca488bc5d2fe333ad55b
2017-11-16 09:13:51 +00:00