summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-16tdf#121017 context menu web text: editstyle is always paragraph styleandreas kainz
Change-Id: I985c3f9be81cbeadb393fe8a03bde6a11e3e391d Reviewed-on: https://gerrit.libreoffice.org/63450 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121017 context menu global text: editstyle is always paragraph style editandreas kainz
Change-Id: I8c6204e389105e2572cd2edd4fb5f23c87896c66 Reviewed-on: https://gerrit.libreoffice.org/63449 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121017 context menu writer text: editstyle is always paragraph style editandreas kainz
Change-Id: I56a8385669a8cd74e2794d12a7cd4c722da1313d Reviewed-on: https://gerrit.libreoffice.org/63448 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121017 context menu swxform text: editstyle is always paragraph styleandreas kainz
Change-Id: I3e53e06ce55c377076234f08ce090c4904db8cb6 Reviewed-on: https://gerrit.libreoffice.org/63451 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121216 Fix custom pattern not displayed in area tab pageJim Raykowski
pattern editor on reopening Change-Id: I1c77dff4bfebc9f4a2661210f5bbbaa8573a90db Reviewed-on: https://gerrit.libreoffice.org/63456 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2018-11-16tdf#45904 Move XEnumeration Java tests to C++Jens Carl
Move XEnumeration Java tests for ScIndexEnumeration_TableRowsEnumeration to C++. Also improved the overall run time of the test by limiting the range to enumerate over for reasons mentioned in fdo#45337. Change-Id: Id8eb998242cacf61bb472a0c130f38482c95db1c Reviewed-on: https://gerrit.libreoffice.org/63444 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-16loplugin:staticmethods improvementNoel Grandin
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755 Reviewed-on: https://gerrit.libreoffice.org/63434 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-16Fix typosAndrea Gelmini
Change-Id: I033731251c4fffd759144f5bd9d6b9737de48c80 Reviewed-on: https://gerrit.libreoffice.org/63455 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-16Removed duplicated includeAndrea Gelmini
Change-Id: I147e10a4ce503a91e51eed15586db3381447cc7c Reviewed-on: https://gerrit.libreoffice.org/63454 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-16tdf#37483 Add drag'n'drop to reorder custom Impress animationsBrian Fraser
- Support drag'n'drop of single items. If the animation is collapsed, it will move its collapsed sub-animations as well. - Sub-lists remain expanded when its parent animation is moved, or a sub animation becomes the new parent of the text group (due to moving). - Maintain the cursor between custom animation list redraws. - Don't change selection on collapse after custom animation list rebuild. Change-Id: I92d96e9a01c6884ef739612e456cc541218b6ebb Reviewed-on: https://gerrit.libreoffice.org/62342 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-15tdf#107240 tdf#120432 Disable time/date entries in read-only/protected modeXisco Fauli
Change-Id: Ia3c757fa094f17be3b4aadaee65c4699bf0c1cb1 Reviewed-on: https://gerrit.libreoffice.org/61953 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-15Resolves: i#32345 Make LARGE()/SMALL() return an arrayTakeshi Abe
... if the second parameter is an array. This change follows their specification in ODF 1.2. Change-Id: I45c8923f462e9477e1234b47e39dcdd8d2198784 Reviewed-on: https://gerrit.libreoffice.org/62541 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-15force rerender on unit changeCaolán McNamara
Change-Id: I7a64b2e200bf0c50ea636be8aac1249713044103 Reviewed-on: https://gerrit.libreoffice.org/63438 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15Resolves: tdf#121432 don't insert an extra page when parent is tabcontrolCaolán McNamara
but the new child is a toplevel widget Change-Id: Ib794e076e2626485b9d9231daf914db6dd9b5e2f Reviewed-on: https://gerrit.libreoffice.org/63431 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' - typo Change-Id: I0ffcaf4a1582d3ee31c40d9ecfc4f922651a1b18 Reviewed-on: https://gerrit.libreoffice.org/63441 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-15Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' - tdf#118473 Help page for VBA FormatNumber + some fixes in table formatting * Added Mike's advise. * fix dumb copypasta Change-Id: I997c3200e521e7fac9f20f17a9bb9e2574bccfdd Reviewed-on: https://gerrit.libreoffice.org/63373 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-15WaE: -Wimplicit-fallthroughTor Lillqvist
Change-Id: I4d80a64a228c7225df13ca17d933b8f940ddc3e3
2018-11-15sw reqif-xhtml export: write graphic of OLE object at an RTF level as wellMiklos Vajna
An embedded object have have its replacement graphic at 3 levels in reqif-xhtml: PNG at HTML level, WMF at RTF level and as a stream in the OLE2 storage. Some reqif readers depend on having the replacement graphic at an RTF level, so write that variant, too. Change-Id: I3391303248d2792a4c370e8fc84db0f22185312e Reviewed-on: https://gerrit.libreoffice.org/63419 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-15Resolves: tdf#121341 weld TrendlineTabPageCaolán McNamara
Change-Id: I8ecc1901388986bd6a3822e8d0055e48d873586c Reviewed-on: https://gerrit.libreoffice.org/63387 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15Resolves: tdf#121415 font tab page has no nameCaolán McNamara
Change-Id: I3ca6a8b58163fe5c84a306dd80dd7171f8540299 Reviewed-on: https://gerrit.libreoffice.org/63425 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15sw: -Wimplicit-fallthrough from MacOS clang (or perhaps NDEBUG clang?)Michael Stahl
Change-Id: I0219a0f6438c58b3f3307efe0b62d2a40ef281e4
2018-11-15bind SalInstanceSpinButton to FormattedFieldCaolán McNamara
Change-Id: I71190343739fae51b1c17d74ea1c4a548bca0b01 Reviewed-on: https://gerrit.libreoffice.org/63371 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15reformat when the unit changesCaolán McNamara
Change-Id: I2252a5bc4c3b495c35b9d5672a272362646ebbe8 Reviewed-on: https://gerrit.libreoffice.org/63426 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15tdf#45904 Move XEnumeration Java test to C++Jens Carl
Move XEnumeration Java tests for ScIndexEnumeration_ScenariosEnumeration to C++; Change-Id: Ia778f644cbb2836e6c6bfc12ae389cda3420e5b2 Reviewed-on: https://gerrit.libreoffice.org/63399 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-15Adapt recent CppunitTest_xmlsecurity_signing fix to ASanStephan Bergmann
f0305ec0a7d199e605511844d9d6af98b66d4bfd "Fix creation/removal of GPG socketdir" spawns additional gpgconf processes which need the same LD_LIBRARY_PATH fix as d15f042abd5a1093984a0c8380837145f38c4efc "CppunitTest_xmlsecurity_signing failed in sanitizer builds" Change-Id: I1da9e9e459c5a584f092966923f8818f115322dc Reviewed-on: https://gerrit.libreoffice.org/63420 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-15Fix wrong path nameSamuel Mehrbrodt
Change-Id: I79ed336058ffa9e182d3332acfeda8d6526c6b43 Reviewed-on: https://gerrit.libreoffice.org/63432 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-11-15loplugin:staticmethods in scNoel Grandin
Change-Id: I3cdce43e0ba9b17f9bf993ebcad5f64f0834ceaf Reviewed-on: https://gerrit.libreoffice.org/63421 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-15loplugin:staticmethods in sfx2Noel Grandin
Change-Id: Ide10d0186431e745c3bb17d321cf46724e801c8f Reviewed-on: https://gerrit.libreoffice.org/63404 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-15Update the reference rdbs to libreoffice-6-1-0Stephan Bergmann
LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-6-1-0/instdir/program/types.rdb \ >.../master/udkapi/type_reference/udkapi.idl * no changes LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-6-1-0/instdir/program/types.rdb \ .../libreoffice-6-1-0/instdir/program/types/offapi.rdb \ >.../master/offapi/type_reference/offapi.idl * all the interim modifications to offapi/type_reference/offapi.idl were done in error and had already been reverted again (i.e., `git diff 76f30450577bcecf0423833884e3e5215decdd07..5b0ceb86c342754d8f4e83408c7ae0da0e3931d3^ -- offapi/type_reference/offapi.idl` is empty) Change-Id: Ibac6d00f9b6fa3fa4d4ac491af66ea4938b36b87 Reviewed-on: https://gerrit.libreoffice.org/63424 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-15Use C locale in UITestStephan Bergmann
b96180cb9bbec90b0faaf61c78c71bd4f6499e40 "uitest: set en_US.UTF8 for the LibreOffice instance" had made UITest use the en_US.UTF-8 locale (passed from LIBO_LANG to LC_ALL when starting soffice in uitest/libreoffice/connection.py), for unstated reasons. The mail sub-thread starting at <https://lists.freedesktop.org/archives/libreoffice/2018-October/081318.html> "Re: master build problems with en_US.utf8 locale" now argues that support for an en_US.UTF-8 locale in the OS should not be necessary when building LO. While absence of OS-support for en_US.UTF-8 apparently doesn't break the UITests (see <https://lists.freedesktop.org/archives/libreoffice/2018-November/081375.html> "Re: master build problems with en_US.utf8 locale"), it feels better to make these tests not use the en_US.UTF-8 locale at all. At least for me, the tests ran fine when using the C locale instead. Change-Id: I23eb2ce540bb40a7b7d13c2a396e313966f03f6e Reviewed-on: https://gerrit.libreoffice.org/63360 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-15reformat on set_digits changeCaolán McNamara
Change-Id: If69cee340e48d42b1be56ea6012e6686aa203f53 Reviewed-on: https://gerrit.libreoffice.org/63423 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-15Resolves: tdf#121260 do not force AddressConvention::OOO on parseFormula()Eike Rathke
Change-Id: I48b8295fc75e40f5d58f99fc2809c28de48771d5 Reviewed-on: https://gerrit.libreoffice.org/63417 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2018-11-15Revert "revert 25622f29b4003307d2ba780ff1232d8b7cdafa35 in list.cxx"Michael Stahl
This reverts commit fa2167fe500e68f8960f40e13fdc908fc3fa1323 ... and fixes the merge conflicts. Change-Id: I57fa6b9e7d35e0fc28d941f2968854a52b17b995
2018-11-15sw: GSE_INP is dead since CVS import, remove itMichael Stahl
Change-Id: Ib0713df614e63c20965979e7e34f7481fe8ed838
2018-11-15sw: fix a search-and-replace gone bad in DocumentFieldsManager.cxxMichael Stahl
Change-Id: I6b2df2aee96ab32123d3fa23fd9a2480b3ed3c72
2018-11-15sw_redlinehide_3: update fields on redline opsMichael Stahl
Can't tell which chapter/reference fields will be affected by a redline, so we have to either update all of them, or rely on the IDocumentSettingAccess::getFieldUpdateFlags() which lets the SwIdle update the fields, at some later time... Change-Id: I3b9cfd17bd227a18f64dac193f0cc912768810c1
2018-11-15sw_redlinehide_3: update fields in UnHideRedlinesMichael Stahl
Repainting is not enough, values require up-to-date outline visibility etc. Change-Id: I85d99fc65a071279c2d4656a52ff82ed3b2db7d8
2018-11-15sw_redlinehide_3: filter deleted footnotes in Field Reference dialogMichael Stahl
Change-Id: I386bce6b929e38077c01595de618b89fccdaf5fe
2018-11-15sw_redlinehide_3: adapt SwSetExpFieldType::GetSeqFieldList()Michael Stahl
Change-Id: Iea24b3823b648066e331dc5e9789c79662727a12
2018-11-15sw_redlinehide_3: add second result to SwRefPageGetFieldMichael Stahl
With the old Hide implementation this actually would take the last set-field in the redline nodes array section to set the value at the start of the document, because there was no check for that; surely that was wrong... Change-Id: I63fb89ccf0067f1fe375226d6d04cafb6485c5d6
2018-11-15sw_redlinehide_3: add second result to SwAuthorityFieldMichael Stahl
... and SwAuthorityFieldType, which needs 2 lists of the fields because each citation may occur multiple times, so their order might change on deletions. This is for when there is a bibliography in the document, and it is set to IsSequence(), i.e., insert Bibliography -> Number entries -> Sort by document position... Change-Id: Iba2c31267aeebacb779713567eeb0aa6659afefb
2018-11-15sw_redlinehide_3: add second result to SwGetExpField, SwSetExpFieldMichael Stahl
This is quite tricky & somewhat ugly due to the SwValueField base class & we need to duplicate its member too :( It would be possible to filter the deleted fields in SwDocUpdateField::MakeFieldList(), but the problem with that is that the instance is long-lived & might be used with different layout settings, so it's probably better to filter in the 5 or so client functions that iterate over the GetSortList(). Note that this will also filter other fields including database fields, hopefully that shouldn't cause problems. Change-Id: I0cdbc7757fa529598b5dbceec0bd2c4a619be05a
2018-11-15sw: booleans are hard, let's go shoppingMichael Stahl
Has been like that since CVS import... Change-Id: Iefa49407de90bace5eea2f86170ba8cd29b1cfe7
2018-11-15sw: flag check looks incorrect in SwDocUpdateField::MakeFieldList()Michael Stahl
Change-Id: Ifebbaa6ef21ac518f62a726dadaceb97fd5e446b
2018-11-15sw: prefix members of SwDocUpdateField & trivial cleanupsMichael Stahl
Change-Id: Ied1e89279e3071e0c6c1b414bb23044e6439258c
2018-11-15sw: remove the SwSetExpFieldType::m_pOutlChgNd memberMichael Stahl
It's only used in one function, just use a local map. Change-Id: I3a79876acf8b31c1a8a14e9f65ada2153e7c773a
2018-11-15sw_redlinehide_3: expand layout-dependent in SwChapterField/SwGetRefFieldMichael Stahl
Change-Id: I3b68a46f68fb4070d26b247a6701b510cc209d9b
2018-11-15sw_redlinehide_3: transport layout from ExpandField() to Expand()Michael Stahl
While at it, rename that to ExpandImpl() so it's unique. Change-Id: I217deb72b4dfdca777e28e18ff56e49863e66640
2018-11-15sw_redlinehide_3: add layout parameter to SwField::ExpandField()Michael Stahl
If the bCached=true, it shouldn't matter what the layout is, because the field won't be expanded properly anyway. Except for the SwInputField which disables caching, but that one often has a different code path anyway. For most fields it doesn't matter anyway, e.g. database fields. Change-Id: I628195f43c5d26feba94af0a832386791c072ba1
2018-11-15sw_redlinehide_3: adapt SwFormatFootnote::GetFootnoteText()Michael Stahl
Change-Id: I206d7345525a4de0f9ece6bac575f82ff1f96df8