summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2021-10-09Typo: braket->bracketJulien Nabet
Change-Id: I75c8c0fc15acb7e3ae6e59de91d5d9f67a4cd1ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123317 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-08remove GtkLabel "xpad" propertyCaolán McNamara
Change-Id: I237eb9e35367b8b75c8e72b857620747840383cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123267 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08Centralize VS-to-toolset mapping in configureMike Kaganski
This allows to define the mapping once, and avoid modification in multiple places each time a new VS version support is added Change-Id: I93de4c9d78c3f67a0a2e157007e9d13b6f557937 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123163 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-08Simplify VS IDE integration generationMike Kaganski
Do not require the IDE version in vs*-ide-integration. Instead, use VCVER environment variable, that is set in configure, to obtain the toolset for the VCPROJ files. When introducing support for new VS version, the 'VisualStudioIntegrationGenerator.retrieve_toolset' method needs to be updated synchronously to list the toolset. This simplifies the make command to make vs-ide-integration TODO: also set the toolset in configure, to simplify the code here, and also in places like external/python3/ExternalProject_python3.mk (see commit c156a8c708f74dd31e1ef024edc578c3915619cb). Change-Id: I95960029a933be2cab96898eee6be6ca6bc5794a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123162 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-08Drop vs2017-ide-integration; add vs2022-ide-integrationMike Kaganski
VS2017 is not supported since 24973523ba59087185d434396fd614e73d72107f. Change-Id: I1a2af1eb8c9216eaed87d5454def2176728f719b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123161 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-09-24add a oss-fuzz-setup.sh to move setting up oss-fuzz env into our gitCaolán McNamara
instead of making an upstream change for each dependency change. We already download missing dependencies within our build, but in oss-fuzz we have multiple builds back to back in fresh environments, so we would do that for each build, e.g. once for asan, again for ubsan and again for msan etc. Change-Id: Ie810df5e84d4b265200e5c54831a4da43255af55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122598 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-24check-missing-export-asserts: update pathXisco Fauli
it was changed in 6353c51e8bf66fe223080db649fc07e62a3a6c97 <sw: introduce a Library_swqahelper> Change-Id: I3acf2407504e9b8ee923037ec3b5b887112bf580 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122587 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-09-24check-missing-unittests: document the script a bitXisco Fauli
Change-Id: I5111f47e744ac18d19ed3f8e0ae1fb534ca42669 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122564 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-09-24bin: Add script to compare the crashreport stats of two different versionsXisco Fauli
Change-Id: I10103bf6a551f5dd5262ead9c6b34c8424d5430e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122563 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-09-23allow entry-text-column and id-columnCaolán McNamara
as later versions of glade write by default Change-Id: Icb26774553fb8c6bbb1399e3503bd0b6237767ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122511 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-23Related tdf#144618: add check in bin/ui-rules-enforcer.pyJulien Nabet
+ fix vcl/qa/cppunit/builder/demo.ui Change-Id: I556cf99687f138e2d9667dc742dd44cafe7b1a02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122488 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-20ofz: can now undo temp -L/usr/msan/lib hackCaolán McNamara
now that https://github.com/google/oss-fuzz/pull/6493 has landed Change-Id: I38634fec9c3e6c50499f1164d7b873dd1889efe6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122368 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-12ofz: better workaround for broken msan buildCaolán McNamara
workaround https://github.com/google/oss-fuzz/issues/6427 by forcing use of the libc++.a in /usr/msan/lib when compiling the msan version Change-Id: I4e992cd7710b5929e74034db7a49c590349149fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122014 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-11don't include Vulkan headers for Skia PCHLuboš Luňák
It's not built on Mac. Change-Id: Ica6aed9da51bb5cfd6dd1255e1231d5f0e53ba2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121926 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-30convert this script to python3Noel Grandin
Change-Id: I4e496ab11f4ee2576b2f7e88d02f884b3b19c91a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121229 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-26update Skia to chrome/m94Luboš Luňák
Updating to m91 or newer required handling the problem with Vulkan crashing, but that's been finally fixed by the previous commit. This Skia version also requires at least freetype-2.8.1, so disable Skia if that's not available (LO's minimum is lower). Additionally patch out Skia's use of TT_SUPPORT_COLRV1, which seems to be an unstable freetype API from the git version and it doesn't even compile with the latest stable 2.9.11 release Change-Id: I4a17effb912468c43fc7cdb69fe453062e4d2447 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120967 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-20Make some scripts more portableIlmari Lauhakangas
Change-Id: Ia89059eea51ca396a7c74143625ac9a6706de198 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120773 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-08-19ofz: add expat generate_hash_secret_salt to ignorelist for msanCaolán McNamara
use of the return value is flagged as use-of-uninitialized-value otherwise Change-Id: I574a1829ea4ff0343129c1d9b6dcc74168aa6909 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120752 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-19use sanitize-excludelist.txt for fuzzing CC as well as CXXCaolán McNamara
Change-Id: Ia470dbb9ab3ce86bedbadfd69ea145806530e4dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120741 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-19reduce visibility of some symbolsNoel Grandin
Change-Id: I16b6be2217f56e5961e1352201a8ee4e2b033e97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120658 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-18Teach symstore more duplicated DLLsThorsten Behrens
Amending commit b4dfba947768834ffecc09056992019878711c8b with adding the copied DLLs here, too (symstore complains otherwise) Change-Id: If5cc155cf2fe11b0f97cd152993609fd2c835316 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120686 Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-08-16ofz: log with date -uCaolán McNamara
Change-Id: I9e85ee0f98c3b7cfab15db5e93f65a053996bf00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120534 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-12ofz: liberation-fonts-ttf alone is sufficientCaolán McNamara
Change-Id: Ifa6938c759c0c1036120da2eeadefbe00ae96f0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120381 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-09enforce no image-position in GtkCheckButton/GtkRadioButtonCaolán McNamara
Change-Id: I686d0f3f66209a0e173065a2c28e7cf1960a28e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120203 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-08oss-fuzz: drop more_fonts build step and just install the min wantedCaolán McNamara
Change-Id: I7e03be4c0137f49b8822991f91fdfe4367653c2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120172 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-07log when fuzzing build starts and endsCaolán McNamara
Change-Id: Id5db6c6dc799c03013576e0d041ab180ea4ac77f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120168 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-05find-unneeded-includes: remove leftover debug print()Miklos Vajna
Change-Id: I738d191415db130d875d5b7139ff768ad389dd93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120070 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-08-05sw: fix assert fail with ShowRedlineChanges=false and para formatMiklos Vajna
It fails like this: loolforkit: sw/source/core/layout/wsfrm.cxx:4551: void UnHide(SwRootFrame&): Assertion `rLayout.GetCurrShell()->ActionPend()' failed. #4 0x00007f98e9f8c198 in UnHide(SwRootFrame&) (rLayout=...) at sw/source/core/layout/wsfrm.cxx:4551 #5 0x00007f98e9f8c839 in SwRootFrame::SetHideRedlines(bool) (this=0x7f98c40f7bd0, bHideRedlines=false) at sw/source/core/layout/wsfrm.cxx:4664 #6 0x00007f98e9b18afd in sw::DocumentRedlineManager::SetRedlineFlags(RedlineFlags) (this=0x80a4120, eMode=49) at sw/source/core/doc/DocumentRedlineManager.cxx:1097 #7 0x00007f98e9cfa503 in SwEditShell::SetAttrSet(SfxItemSet const&, SetAttrMode, SwPaM*, bool) (this=0x8885840, rSet= SfxItemSet of pool 0x808fd10 with parent 0x0 and Which ranges: [(63, 64), (120, 120)] = {...}, nFlags=SetAttrMode::DEFAULT, pPaM=0x0, bParagraphSetting=true) at sw/source/core/edit/edatmisc.cxx:187 #8 0x00007f98ea995f07 in SwTextShell::ExecParaAttr(SfxRequest&) (this=0x8bd0820, rReq=...) at sw/source/uibase/shells/txtattr.cxx:451 Fix it the same way commit dd489bc01adc22fc5015ea56b61d66104af184a8 (tdf#125754 sw_redlinehide: avoid recursive layout in SetHideRedlines(), 2019-06-19) did: make sure that SetHideRedlines() is called before EndAllAction(). Change-Id: I6304abec2e2e2967a8369b0219492bebcd606d03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120069 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-07-15find-unneeded-includes: Add --headers optionGabor Kelemen
so that --recursive checks only header files. if omitted, --recursive checks source files. Change-Id: I7406e90dc4df4603b62d23751d3c78a1fdedec38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118959 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-07-14check-missing-unittests: only care about FIXED bugsXisco Fauli
Change-Id: Ifc13149acce6baa9e107e819b97ab879ff99d2d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118887 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-07-14find-unneeded-includes: add --recursive optionGabor Kelemen
so that f-u-i will be able to find files to check on its own. Previously you had to find foo -name "*cxx" | xargs bin/f-u-i Now its a bit easier to mass-check files. Change-Id: I2823832ce8335a30493cf9f538f6fc5baec42dde Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118875 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-07-06drop stray skip-pager-hint propertiesCaolán McNamara
Change-Id: I54f4bba95773797f19290fb357225f9726b2ce72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118517 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-28find-unneeded-includes: introduce --dontstop switchGabor Kelemen
...to make it not stop after each error found. In case there are not many problems to be expected, it is faster to check a bunch of files and fix the problematic 5% than re-check over and over again the non-problematic ones after each error found. Change-Id: Iec5a2aa96ac557c0247ae2f06eb710daa75cc19b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117756 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-25add no max-length property in GtkSpinButton ruleCaolán McNamara
Change-Id: I49ef02102620d6f455758a136d980b2c39b076df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117910 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17don't ignore dump_syms errors during symbol extractionChristian Lohmaier
also fix the file filtering in case directories are passed for recursive traversal (pdb files are not created in instdir, so that never really matched our build-env) Pass a directory to the invocation to make use of that filtering, and also add a retry in case dump_syms segfaults during processing (see also 73299faa75a4974eb49c93ffdfb2d6329cb4e519) Change-Id: I8989c3fd72de0b18eecce490fac81db956f87515 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117386 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-06-17remove 'relief' from CheckButtonsCaolán McNamara
Change-Id: I8a17c36489946327113e63f80b952525ae4201a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117377 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16remove SpinButton input-purpose propertiesCaolán McNamara
Change-Id: I68629d4350c43c80fdd00f9fcb8af3733753fe43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117327 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-15remove deprecated Expander spacing propertyCaolán McNamara
which is the spacing between expander indicator and expander label Change-Id: Ib840cec6744bd7f0714d38b8296d2f17dc9a916d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117199 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14remove double-buffered propertiesCaolán McNamara
these are all fat fingered in somehow or another Change-Id: I0864a5622a244d5e60b368ddc425fc5a9b019060 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117176 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-14enforce RadioButton active within group consistencyCaolán McNamara
make group leader (the one without a group set) always active and make the group followers always not active Change-Id: I8a9ec45e93bf0786ab2895278521027b428c8403 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117143 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-07find-unneeded-includes: fix YAMLLoadWarning on newer systemsGabor Kelemen
After upgrading to Ubuntu 20.04 I got this warning: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. Change f-u-i per instructions on website above to fix this warning. Change-Id: I4424b0ced49d81dceb33131e1df150387a89df4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116748 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-06enforce indicator consistencyCaolán McNamara
so there is either a standard indicator shown or one of a small subset of named icons a) adds an indicator to show the MenuButton provides a dropdown to the spelling dialog when there are multiple user dictionaries the word could be added to b) use open-menu-symbolic instead of gear icon for the sidebar menu Change-Id: If4f0842fb0f805dde45e375061f23d2aaea0990c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116757 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-03Avoid timeout in bin/oss-fuzz-build.shMarcoFalke
This may fix https://github.com/google/oss-fuzz/issues/5855 A similar recent fix was https://github.com/google/oss-fuzz/pull/5858 It is assumed that the oss-fuzz builder HDD is too slow, leading to a timeout. Fix that by breaking the bash wildcard expansion into a for loop. I did not test this change. Change-Id: I3db367d604c46b3d15c91f530fb103ca005b0bc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116642 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-02uniformly remove label-fill from GtkExpandersCaolán McNamara
Change-Id: Ife68cef7eeab0010c4d233c81e3bee808c2c1c28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116615 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-01check-missing-unittests: add changes in svl/source/numbers/Xisco Fauli
Change-Id: Iabbde5976380c9e39590ad25ed4359f21290485b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116494 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-31GtkLabel:track-visited-links was removedCaolán McNamara
but we have some uses of it, which all look accidental Change-Id: Iccb12d904e8dc7410205735e49526b73bb81083e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116488 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-20move some headers inside modulesNoel Grandin
Change-Id: I2baa9e9334850cf72e8ea1e96a2177a1c052e589 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115868 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-13inline some typedefsNoel Grandin
Change-Id: I1608e03ff9f6fbc55987010e88897e034b690b3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115552 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-13make some classes privateNoel Grandin
Change-Id: I14b2c27a99e76b1141c7a7bd3d0edaf57737bee2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115544 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-12rename ui-converter-skeleton to ui-rules-enforcerCaolán McNamara
Change-Id: I1cc0fd704be075a7c387363a49bd84b159831aca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115493 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>