Commit graph

414030 commits

Author SHA1 Message Date
Jim Raykowski
9466ea1af0 tdf#98212 make paragraph dialog alignment tab preview update
Change-Id: Ibd1d4f2c59bb832d6b2bba597e3f022c628e1887
Reviewed-on: https://gerrit.libreoffice.org/43577
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-10-20 10:37:03 +02:00
Mike Kaganski
377b8ee94e pdfextoutdevdata: Rearrange code for readability and efficiency
Change-Id: I506e77d97940570b076274a35cc92d3ec7278d3c
Reviewed-on: https://gerrit.libreoffice.org/43584
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-10-20 10:33:12 +02:00
Tamas Bunth
1c80246e5f tdf#112100 Select shape name in Navigator
After the selection of a shape the shape name is selected in the Navigator
tab under the Drawing Objects entry.

It scrolls to the corresponding entry as well in case the scrollbar is
visible.

Change-Id: I298e8fe6bdab01eb20c53e1730812192c46770c5
Reviewed-on: https://gerrit.libreoffice.org/43566
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2017-10-20 10:30:12 +02:00
Caolán McNamara
7f4543402a shrink ww6 fuzzer
Change-Id: Ic84ebb2327d6f99b04a6f2722f71fe401d2a9e09
2017-10-20 09:21:29 +01:00
Noel Grandin
14d4566543 loplugin:constmethod in codemaker,registry,store
Change-Id: Ie75875974f054ff79bd64b1c261e79e2b78eb7fc
Reviewed-on: https://gerrit.libreoffice.org/43540
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-20 08:50:48 +02:00
Noel Grandin
8f8a1e301c use std::unique_ptr in EscherSolverContainer
Change-Id: I46d10aec5b69d120dfca8fea076013664cbb3278
Reviewed-on: https://gerrit.libreoffice.org/43527
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-20 08:50:25 +02:00
Stephan Bergmann
15dce20e8b Fully ignore inappropriately named loplugins in unit-test mode
...even if they implement PPCallbacks, so filtering them out in
HandleTranslationUnit was ineffective.

Change-Id: I9df8103a50739f3176e6d63accfd0334da7faa9a
Reviewed-on: https://gerrit.libreoffice.org/43575
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-20 08:31:30 +02:00
Gabor Kelemen
2161abff35 tdf#87808 Add missing tooltips to Media Playback toolbar
For the Position and the Volume sliders

Change-Id: Ie7eee332b05e9a6cfc8165cf7b7b59695c58b458
Reviewed-on: https://gerrit.libreoffice.org/43571
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-10-20 08:21:29 +02:00
Takeshi Abe
44f54bf392 svtools: SvTreeListEntry's copy ctor is unnecessary
Change-Id: Idce8773d96e30dacfc9ce13fdb9b399c2a8bf341
Reviewed-on: https://gerrit.libreoffice.org/43485
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-20 07:56:44 +02:00
Julien Nabet
c16804de78 Replace list by unordered_set for m_aAlternateFiles (vcl)
Change-Id: I66ea61972fed87245b33dfe355eff58d23041120
Reviewed-on: https://gerrit.libreoffice.org/43520
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-20 06:14:32 +02:00
Takeshi Abe
ba9e09be72 Kill unused SV_LBOX_DD_FORMAT
Change-Id: I242339aa7a3f7c12b84cdcd97fe670491a0217a5
Reviewed-on: https://gerrit.libreoffice.org/43541
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-10-20 06:04:50 +02:00
Vasily Melenchuk
8743a4172e tdf#107111: DOCX export: restore HideTabLeader... attribute after TOX
Previously m_bHideTabLeaderAndPageNumbers value was not restored after TOX
finish and so causing visibility problems with following hyperlinks.

Change-Id: I4ba5ce1f70e05d706d17d60e1a33a62995701f9e
Reviewed-on: https://gerrit.libreoffice.org/43310
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-20 02:07:49 +02:00
Caolán McNamara
312a8a32a5 ofz+ubsan: runtime error: left shift cannot be represented in type
Change-Id: Ic153b39475abbd562e4c81b47089ca8280080cff
Reviewed-on: https://gerrit.libreoffice.org/43569
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-20 00:39:38 +02:00
Serge Krot
143c482b31 sw: enable ooxml export tests also for Win32
* seems they work fine these days
* also removed magic number from fdo69649 test in favour of getting the
  value straight from the document

Change-Id: Ife9d96eb413740b56b771df0d23e590f44f9452f
Reviewed-on: https://gerrit.libreoffice.org/43568
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-19 23:40:33 +02:00
Stephan Bergmann
db90b1aa47 Move slideshow include files to common include directory
...that are included from various places.  Change done in preparation of
loplugin:includeform.

Change-Id: I6507189a380a547321903d71e3cb425c37bb16ad
Reviewed-on: https://gerrit.libreoffice.org/43563
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 23:08:58 +02:00
Stephan Bergmann
8d3b8dd0b2 Make Library_sdfilt find Library_sd include files via -I
...instead of through ../../... paths.  Change done in preparation of
loplugin:includeform.

Change-Id: I1b4476f32573c2ef19d2a145e6e617b63006d40b
Reviewed-on: https://gerrit.libreoffice.org/43562
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 23:08:12 +02:00
Stephan Bergmann
2d06146bcb Make include file found through -Isd/source/ui/inc
...instead of implicitly next to the including file, in preparation of
loplugin:includeform

Change-Id: I954b6f7132db103c6b89a4ca1577b16f94e800c2
Reviewed-on: https://gerrit.libreoffice.org/43561
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 23:07:36 +02:00
Stephan Bergmann
5d0f517e3a Make include files found through -Ilotuswordpro/inc
...instead of implicitly next to the including file, in preparation of
loplugin:includeform

Change-Id: I4a666e8cd1cd3b1bf67af697be02879217dbc83a
Reviewed-on: https://gerrit.libreoffice.org/43560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 23:07:02 +02:00
Stephan Bergmann
67ef6aaf37 Move SchXMLAutoStylePoolP.hxx next to SchXMLExport.hxx including it
Change-Id: I21a805d90f04432a864ec2567fd707da27bc7be3
Reviewed-on: https://gerrit.libreoffice.org/43559
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 23:06:04 +02:00
Stephan Bergmann
e19c4b54d1 Consistently use #include <LibreOfficeKit/...> in include/LibreOfficeKit
Some of the include files there had used

  #include "..."

while others had used

  #include <LibreOfficeKit/...>

for references among those include files.  In preparation for
loplugin:includeform, consolidate on the latter (even if that's clearly a
misuse of the <...> form).

Change-Id: If142c844863e4e63b6fd8f2200732972860befd3
Reviewed-on: https://gerrit.libreoffice.org/43558
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 23:05:16 +02:00
Serge Krot
f3c37b7d72 tdf#87533 Fixed initialization of writing mode for paragraph
During parsing of the docx the paragraph without w:bidi
should take this value from style or from default paragraph properties,

Change-Id: Ie33f0d1cd3551c4053a47e6faf7dcac71765db65

tdf#87533 explicitly set writing mode value based on default properties

Change-Id: I3fcf514a901f0630d749ba0ddb6361d6db3ce1b5
Reviewed-on: https://gerrit.libreoffice.org/42895
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-19 22:33:58 +02:00
Serge Krot
f89dcfd3ce related tdf#87533: handle LN_EG_SectPrContents_bidi correctly
Change-Id: I90d220550d24fb964cf4e528a1f506033f05de95
Reviewed-on: https://gerrit.libreoffice.org/42896
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-19 22:32:08 +02:00
Laurent BP
80c0a7300b tdf#33689 Accept English syntax keywords in format strings
If keyword does not correspond to any keyword in language
used, then English keywords are tested
Test done only if language may use localized keywords

Change-Id: Iace2470f311c9c02eb86b63d0ad5f6130f4e2f0b
Reviewed-on: https://gerrit.libreoffice.org/43260
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-10-19 22:13:44 +02:00
Mike Kaganski
334a9f16cd tdf#113211: fix calculations with big integers
... and munbers with few fractional bits

Change-Id: I86c3e8021e803fed498fae768ded9c9e5337c8bd
Reviewed-on: https://gerrit.libreoffice.org/43477
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-10-19 21:55:09 +02:00
Maxim Monastirsky
2c41e99241 tdf#106163 tdf#112830 Mirror mouse enter/leave for gtk2
Change-Id: I02bc5be82bc2bf51ff3e93939273d2c60c1c4d46
Reviewed-on: https://gerrit.libreoffice.org/43570
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-19 21:29:54 +02:00
Caolán McNamara
02d4421687 ofz+ubsan: signed integer overflow
Change-Id: Ie291f5f4e705ad3d2aeecc9fa26b1247974e2aa2
Reviewed-on: https://gerrit.libreoffice.org/43545
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-19 21:26:43 +02:00
Noel Grandin
d54e586166 use std::unique_ptr in SdDrawDocument
Change-Id: Id02cf2615b7697df589f612d21219200d3fab082
Reviewed-on: https://gerrit.libreoffice.org/43542
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-19 21:21:25 +02:00
Szymon Kłos
98133504fd PPTX export: remember color schemes in theme
Remember color scheme from loaded pptx file
or use default values.

Change-Id: Icb69c51603afc5f332c20c75e4ed5f659f4b5614
Reviewed-on: https://gerrit.libreoffice.org/43470
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-10-19 21:02:07 +02:00
Cheng-Chia Tseng
278bdbca31 tdf#112879 Update to Chinese (traditional) to reflect current norms
Change-Id: Id439e3c4e8fc6e5d05026e43132460840a68aff1
Reviewed-on: https://gerrit.libreoffice.org/43163
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2017-10-19 20:40:55 +02:00
Noel Grandin
ed3d2e9863 use std::unique_ptr in SwDocUpdateField
Change-Id: I9d6eba5e2714a29fd3a2ad301298ad8590a4af36
Reviewed-on: https://gerrit.libreoffice.org/43549
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-19 20:38:54 +02:00
Stephan Bergmann
7855c29b4d loplugin:includeform: manual changes to idlc/source/parser.y
Change-Id: I1f3b08b4af08956aefad12c679cccf7bd5112f8c
Reviewed-on: https://gerrit.libreoffice.org/43557
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 20:12:00 +02:00
Stephan Bergmann
931decd0e9 Move vlc/wrapper include files to common include directory
...that are inclued from both vlc and vlc/wrapper.  Change done in preparation
of loplugin:inlcudeform.

Change-Id: Ic7dc08b93d8a33b21dc64dfc0bfbe3952039f05b
Reviewed-on: https://gerrit.libreoffice.org/43556
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 20:05:38 +02:00
Stephan Bergmann
96e68b9949 loplugin:includeform: manual changes to unoidl/source/sourceprovider-parser.y
Change-Id: If3980360b79a7ffcd433055e4ab912301a1bed74
Reviewed-on: https://gerrit.libreoffice.org/43555
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 20:05:11 +02:00
Stephan Bergmann
245fda4189 Remove self-include
...that was probably added by accident with
0f58e974a7 "lokdialog: Better dialog rendering
API"

Change-Id: Id480e0332da5edf7fc89b685c681bc79b34869f7
Reviewed-on: https://gerrit.libreoffice.org/43554
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-19 20:04:47 +02:00
Eike Rathke
8112af3361 Resolves: tdf#113179 merge language attributes early, tdf#108795 follow-up
Merging attributes from table to top EditEngine has to be done
before colorizing with the range finder, as the resulting merged
default item set *overwrites* the items set.

Change-Id: I6561201de11344161f61d7d4cf6a7b79d76ba493
2017-10-19 19:33:40 +02:00
Tamás Zolnai
291874c09c tdf#113268: Pivot table: Missing popup button after opening a ODS
Wrong row number was calculated here. This ++nCurRow is usefull
only when headerlayout flag is set. It's a MSO compatibility flag
so it's not there by default in LO created tables.

Change-Id: Id7989d898f2647f1ba45ed95e0aa615e3b4fa311
Reviewed-on: https://gerrit.libreoffice.org/43552
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-10-19 19:31:01 +02:00
Tamás Zolnai
c9a584af6d It's a simple assignment
Change-Id: I7b85a5ce93685013c28c9cb8047093fe7403da53
Reviewed-on: https://gerrit.libreoffice.org/43553
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-10-19 19:30:31 +02:00
Christian Lohmaier
376fa15154 Updated core
Project: translations  0703aea9337413756face54c3d7a89cc4a539a33

make msgfmt happy re 'msgid' and 'msgstr' entries do not both end with '\n'

Change-Id: Ib323bb112dac8da86f9ca062c1376f8f7d34e608
2017-10-19 17:31:18 +02:00
Caolán McNamara
bea5f123f6 shrink ww2 fuzzer
Change-Id: Id30693b2e0cd260bf5ee7d22e8c701b4566e54d6
2017-10-19 15:16:19 +01:00
Caolán McNamara
989f3a0312 ofz+ubsan: signed integer overflow
Change-Id: Ie75f4ff4c0efe1a1fb67b8d2edf86af9a962110f
Reviewed-on: https://gerrit.libreoffice.org/43543
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-19 16:00:26 +02:00
Xisco Fauli
7bc2f1bde3 bump product version to 6.0.0.0.alpha1+
Change-Id: Ic7c4f406e60774c435f8d41aaf54bc56126193f3
2017-10-19 15:45:29 +02:00
Stephan Bergmann
dddb527db1 Again, no -fstack-protector-strong for gcc3_linux_aarch64/cpp2uno.cxx
8d12e4ec8b "No -fstack-protect-strong for
gcc3_linux_aarch64/cpp2uno.cxx vtableSlotCall" had done that in the past (so
that setting up the x0/x1 return registers in vtableSlotCall is not clobbered
by the stack protector code), but gbuild details have apparently changed in the
meantime, so that gb_CXXFLAGS_COMMON's -fstack-protector-strong now ends up on
the compiler command line before what is covered by gb_Library_add_cxxobjects's
argument, so didn't get subst'ed to -fstack-protector.  That caused Flathub
aarch64 builds to fail in CustomTarget_testtools/uno_test.

However, if both -fstack-protector-strong and -fstack-protector are present on
the command line, the second apparently wins, so use that hack for now.
(-fstack-protector-strong is only available since GCC 4.9, but -fstack-protector
is already available in our current baseline GCC 4.8.1, and even for a build on
that baseline it wouldn't hurt if cpp2uno.cxx was explicitly built with
-fstack-protector even if none of the other files were built with
-fstack-protector-strong.)

Change-Id: I9d78d2e5b08b7c0a4adb1531b482cd43617886f7
2017-10-19 15:39:35 +02:00
Caolán McNamara
289839b758 ofz+ubsan: signed integer overflow
Change-Id: I9ff2a9402b4dd1ed5458ea935a7ceedd525a3397
Reviewed-on: https://gerrit.libreoffice.org/43533
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-19 15:27:25 +02:00
Michael Meeks
856d734ee1 tdf#113225 - reset framebuffer count when resetting OpenGLContext
Otherwise we can fail to allocate a new one when we need it post reset.

http://crashreport.libreoffice.org/stats/crash_details/e4f26191-15d5-441a-868f-9ada21ef4424

Change-Id: Icc5ec6c51338e18a0a1bc890f56670e8fe9c73ea
Reviewed-on: https://gerrit.libreoffice.org/43508
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-10-19 15:06:44 +02:00
Tamás Zolnai
8cf0b4b4cd tdf#113159: Pivot table: tabular mode is converted to oultine mode
... after RT XLSX in Calc

Change-Id: I9725ca55aed973133db1d5fe47463575148e00b8
Reviewed-on: https://gerrit.libreoffice.org/43537
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-10-19 14:39:50 +02:00
Michael Stahl
c79da868c0 sw: fix odd condition in SwpHints::MergePortions()
All of the RES_CHRATR_* items are poolable, hence we have
(pItem1 != pItem2) == (pItem1->Which() != pItem2->Which() || *pItem1 != *pItem2)

Move the redundant check to an assert() so we notice in case
somebody adds a new non-poolable RES_CHRATR.

Thanks to ccsheller for pointing me to this condition.

Change-Id: I9e0634946b8bede3f483bb8997f69de05beae64c
2017-10-19 14:27:52 +02:00
Christian Lohmaier
fecffa63ef Updated core
Project: translations  dedc237384aa088b21796e0eb6d23501e00aaf89

update templates for 6.0.0 alpha1

Change-Id: Ie5bf8ab575cb94b341c277daa0cd9f6f2f6871f0
2017-10-19 13:59:58 +02:00
Michael Stahl
a612c2feb3 offapi: clarify TextFitToSizeType documentation some more
Change-Id: I1912676423c0e85fa21f87bf28c2a4f6a13c5565
2017-10-19 13:35:08 +02:00
Caolán McNamara
0f64940829 ofz+ubsan: signed integer overflow
Change-Id: I950fb60f9bc7d86a2fe6c64a3d8e62d29ab29817
Reviewed-on: https://gerrit.libreoffice.org/43538
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-19 13:35:28 +02:00
Caolán McNamara
660b12e47d tdf#112830 measure test with ApplySettings applied
and don't invalidate on first view

Change-Id: I1156c83c0365ef27946cc414cad8dfa07206e5af
Reviewed-on: https://gerrit.libreoffice.org/43498
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-19 13:18:43 +02:00