Commit Graph

7278 Commits

Author SHA1 Message Date
de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
8c8f2a5285 remove unnecessary explicit linefeeds from end of SAL and OSL log calls
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf
Reviewed-on: https://gerrit.libreoffice.org/36727
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:15:11 +02:00
447a013299 clang-tidy readability-simplify-boolean-expr in dbaccess..framework
Change-Id: I96e1bd4000f4ade6ccfac53c57653772b249df99
Reviewed-on: https://gerrit.libreoffice.org/36678
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19 14:52:50 +02:00
6390d77a14 convert MeasurementSystem to scoped enum
Change-Id: I5d26c50aa0e2c68edab6ee217ae6bdb0ee45dc09
Reviewed-on: https://gerrit.libreoffice.org/36525
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19 08:25:59 +02:00
44b14e8c7c svg filter: fix SweepWipePath.perform (found by eslint no-undef)
Change-Id: I98d64618d28a06a04ce4e191be6ed90bc9af07bb
2017-04-17 04:54:49 +02:00
36e421ce36 svg filter: fix eslint no-redeclare
Change-Id: I8435d991c582d2b3102d3a42984bb773fddae87c
2017-04-17 04:54:49 +02:00
ebddd77658 svg filter: fix eslint no-undef - var-declare stuff
Change-Id: I4cd00616f972a0be14ceff9311aafee39561ac35
2017-04-17 04:54:48 +02:00
0a97a514aa svg filter: fix eslint no-constant-condition
Change-Id: I8ac187702a3014f78bb711409770b4e8504bcd7d
2017-04-17 04:54:48 +02:00
ed6ee28f57 svg filter: fix eslint no-unused-vars
Change-Id: Ia3e80992d2c5310e0a2c810ef74d710f7a0e1e0b
2017-04-17 04:54:48 +02:00
463378bc5d svg filter: fix eslint no-unreachable
Change-Id: I111c30c9e379a04a17ee057e196efe7930758933
2017-04-17 04:54:48 +02:00
93e956dfd1 svg filter: fix eslint no-extra-semi
Change-Id: I21aa1bad2302536803d3da931cded84742733e05
2017-04-17 04:54:48 +02:00
5b5fa803b3 svg filter: fix eslint no-fallthrough
Change-Id: I2cbc4757042ed3934b0badff03fa291c9f36b6da
2017-04-17 04:54:48 +02:00
0addc668d6 svg filter: fix eslint no-dupe-keys
Change-Id: Iea60d96b6b0c3ba84caa20dd4a0b429af20a5d09
2017-04-17 04:54:48 +02:00
d9e90d986f svg filter: fix eslint assigned-not-used no-unused-vars errors
Change-Id: I15390770b908b281319c4f620732964755aea862
2017-04-17 04:54:48 +02:00
f1d3dbd59e svg filter: remove reams of commented-out JS code
Change-Id: I620bb3ee72653ecc595c5da9fe0558defaf96a44
2017-04-17 04:54:48 +02:00
d167f393c8 svg filter: fix eslint no-unused-vars errors
Change-Id: I1ef6d22f21069afd8dcef5842cf819ca2fef5287
2017-04-17 04:54:48 +02:00
dd23928366 tdf#51358 Add Support for ParallelSnakesWipe transition in SVG Export
Ported the class ParallelSnakesWipePath

Change-Id: Ife99723792d3d3614c7fff6bcf6abaf199568075
Reviewed-on: https://gerrit.libreoffice.org/35723
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-17 02:41:22 +02:00
0badc8447f tdf#51358 Added Support for DoubleDiamondWipePath in Impress SVG Export
Ported the class DoubleDiamondWipe

Change-Id: Ic4432018278c7b3567996bc9463b0f8fc96ebbec
Reviewed-on: https://gerrit.libreoffice.org/35225
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-17 02:39:49 +02:00
dc5253d97c tdf#51358 Add support for SpiralWipe transition in svg export
Ported the class SpiralWipePath

Change-Id: I3f24c3e32fb2994db0edb48e6c2bd017337c208a
Reviewed-on: https://gerrit.libreoffice.org/35139
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-17 02:37:58 +02:00
9f5a275a42 Fix typos
Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91
Reviewed-on: https://gerrit.libreoffice.org/36556
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-15 10:13:34 +02:00
9f565f5cb6 can use gb_CppunitTest_use_configuration and still access .ui files
after...

commit 506cab1a01b0481d0831a7a692a26dc5a5b55e91
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Wed Apr 12 16:14:10 2017 +0100

    take the .ui files from $BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR

    Change-Id: I9cffdc092206c038da32a32a2cfe629e68b5c258

Change-Id: I906d16037cdf0b9203a4120cb1a5e9846a5c7b7f
Reviewed-on: https://gerrit.libreoffice.org/36482
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-12 22:59:42 +02:00
036fcf2a4c tdf#105809: Drop the PlaceWare export filter
Hard to think of any reason why anybody would need it.

Change-Id: If989cdeb1728847973da601f9d3fa60aba1f3bad
Reviewed-on: https://gerrit.libreoffice.org/36169
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-04-11 13:37:17 +02:00
9fa75f677a loplugin:mergeclasses merge E3dScene with E3dPolyScene
Change-Id: I70f28fb4c87ad8c0e0ad46f4ce04914b6536d6b9
Reviewed-on: https://gerrit.libreoffice.org/36376
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-11 10:16:16 +02:00
2a0ce97aed loplugin:inlinefields in PPTTextObj
Change-Id: If0bdb1cad649eb6acceca125367cbd1c3c267fc0
Reviewed-on: https://gerrit.libreoffice.org/36350
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10 13:40:56 +02:00
369d54131f loplugin:inlinefields in PPTParaPropSet
Change-Id: I2a307d5be85f10b410f211c020fdaa9c2bec2bec
Reviewed-on: https://gerrit.libreoffice.org/36349
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10 13:40:40 +02:00
748fea983f loplugin:inlinefields in SvxMSDffManager
Change-Id: I30a7f593c1d2f751adcdde1a381fb616c2dfed74
Reviewed-on: https://gerrit.libreoffice.org/36347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10 13:39:37 +02:00
d608fa64b7 loplugin:inlinefields in PPTTextRulerInterpreter
Change-Id: Ic814a5dce507b5a0cb49a093a60bd71768ee40d5
Reviewed-on: https://gerrit.libreoffice.org/36348
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10 11:57:09 +02:00
4b05610223 loplugin:sallogareas
Change-Id: I382360e7756c8e0afa47c6bc96dfc04fec558a45
2017-04-10 09:13:36 +02:00
4d66989d1e ofz#1078 cgm infinite recurse
Change-Id: I6ba4c6a432f1dd150591f8d9b0f03e248a97c33e
2017-04-09 18:52:27 +01:00
79890a6d1b limit symbol visibility
Change-Id: I54d5fbe1cd9d5ae94cb134f08fc00593c802ebee
2017-04-08 20:31:35 +01:00
a1147a34d8 check escher seeks
Change-Id: I4cb523e8654defa25e75ebd54f1e125ea02e1cf9
Reviewed-on: https://gerrit.libreoffice.org/36281
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-07 20:49:13 +00:00
be8b9b4d29 loplugin:redundantcast find cstyle arithmetic casts
Change-Id: If7c259f0d12a41182f476ddb558f7cb5f76f9577
Reviewed-on: https://gerrit.libreoffice.org/36253
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-07 12:16:13 +00:00
60aac84fc8 ofz#888: use after free
Change-Id: I6d3f9108b02149165b020fc9c6677880456a1ef4
Reviewed-on: https://gerrit.libreoffice.org/35298
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-07 09:01:53 +00:00
6c401a7bdc ofz#893 limit para depth to max legal ppt level
Change-Id: Ie7c287964b126d143a0eeb14be53addc7c34b87f
Reviewed-on: https://gerrit.libreoffice.org/35402
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-07 09:00:35 +00:00
464fa1b40f cid#1404877: Check return value
Change-Id: I6199a7604f8c978a6ebe3537f7df322f32d95c77
2017-04-07 10:44:01 +02:00
709f49bce8 tdf#51358 Add Support for more slide transitions to Impress SVG Export
Ported the class WaterfallWipe.

Change-Id: I4856243c4b29e45f16ee780db42c2f742a6b1dc1
Reviewed-on: https://gerrit.libreoffice.org/35107
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06 23:40:33 +00:00
6c7a2c9570 tdf#51358 Support for SweepWipe transition in SVG Export
Ported the class SweepWipe

Change-Id: Ia67b50ba53900efab977a4cb284f7d1514ff8113
Reviewed-on: https://gerrit.libreoffice.org/34906
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06 23:35:30 +00:00
616efc4a11 tdf#51358 Add Support for FanWipe class
Ported the class FanWipe In SVG engine.

Change-Id: I8a067f2df32968bb00d5b3adc020bc9ee8296f33
Reviewed-on: https://gerrit.libreoffice.org/33910
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06 23:16:52 +00:00
7a64ad5703 tdf#51358 Support for ZigZag-Wipe transition animation in SVG support
Ported classes ZigZagWipe and BarnZigZagWipe

Change-Id: Ib15929c24dc952944ac4de5b71c541cdd99affcc
Reviewed-on: https://gerrit.libreoffice.org/33763
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06 23:05:38 +00:00
aa09b0c27a loplugin:useuniqueptr extend to catch more localvar cases
i.e. where the code looks like
{
    foo * p = new foo;
    ...
    delete p;
    return ...;
}

Change-Id: Id5f2e55d0363fc62c72535a23faeaaf1f0ac6aee
Reviewed-on: https://gerrit.libreoffice.org/36190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06 09:22:46 +00:00
0c82dff153 loplugin:singlevalfields
Change-Id: Ia681765aa1da5c80a3dbe91b7376af841a9c9ec1
Reviewed-on: https://gerrit.libreoffice.org/36145
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06 09:21:58 +00:00
7662e92c64 loplugin:redundantcast find cstyle double casts
Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8
Reviewed-on: https://gerrit.libreoffice.org/36187
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06 07:47:30 +00:00
2e1d9789fe ofz#829 ensure palette can fulfil largest index used
Change-Id: I95aa4796875ee71e8b06a2bb8985845f270b8817
Reviewed-on: https://gerrit.libreoffice.org/35103
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-05 15:49:29 +00:00
97f048e633 sType and sSubType are already normalized to ASCII lower case
... upon successful return from INetContentType::parse

Change-Id: I8a0c50c1c655477138578e59031b64fb6b2b7218
Reviewed-on: https://gerrit.libreoffice.org/36129
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-05 09:40:15 +00:00
ff339c89b5 loplugin:constantparam part2
Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746
Reviewed-on: https://gerrit.libreoffice.org/36072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-05 06:42:40 +00:00
156f778593 tdf#106955: Detect XML by MediaType
According to Extensible Markup Language (XML) 1.0 (see
https://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd),
all parts of XML prolog (including XML declaration) are optional,
so XML stream without <?xml ... ?> is well-formed (though not
valid).

XMLFilterDetect uses only XML declaration to detect if the file is
to be processed further. However, this creates problems with said
documents.

This commit checks if the document has MediaType set to one of
known XML media types, in case when the check for XML declaration
failed.

Change-Id: I31627c0e3a39bee241f609650280ebac3f1cede8
Reviewed-on: https://gerrit.libreoffice.org/36101
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-05 06:07:14 +00:00
d6323a2180 tdf#106525: Implement an XSLT import filter for ADO rowset XML
There are online services and management systems (like SharePoint)
that allow to export datasets in ADO rowset XML format ([MS-PRSTFR],
https://msdn.microsoft.com/en-us/library/cc313112). Usually they are
intended to be open with MS Excel as a spreadsheet (with autofilter).

This allows to open this data in Calc.

Change-Id: I495cd790138bdd6bd24630c0f422a0c8b4e3d0fb
Reviewed-on: https://gerrit.libreoffice.org/35159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-05 05:17:22 +00:00
5676ced825 make UNO enums scoped for internal LO code
this modifies codemaker so that, for an UNO enum, we generate code
that effectively looks like:

   #ifdef LIBO_INTERNAL_ONLY && HAVE_CX11_CONSTEXPR
       enum class XXX {
           ONE = 1
       };
       constexpr auto ONE = XXX_ONE;
   #else
      ...the old normal way..
   #endif

which means that for LO internal code, the enums are scoped.

The "constexpr auto" trick acts like an alias so we don't have to
use scoped naming everywhere.

Change-Id: I3054ecb230e8666ce98b4a9cb87b384df5f64fb4
Reviewed-on: https://gerrit.libreoffice.org/34546
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-04 06:38:03 +00:00
6b4a149a65 tdf#39468 Translate German comments
Translate German comments and terms in UnoControls/, editeng/, filter/,
odk/, reportdesign/, sd/, sfx2/, starmath/, svl/, svtools/, toolkit/,
tools/, writerfilter/, and xmloff/.

Change-Id: Ibc401a425ddfdf41e4e4a78600f3fbce8cfaa2b1
Reviewed-on: https://gerrit.libreoffice.org/35992
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-03 19:25:49 +00:00
f2b52c8597 coverity#1403736 Unintentional integer overflow
Change-Id: I3902dda8f7b420ea3f5e7e8c5d50a47b7e762918
2017-04-03 10:13:18 +01:00