summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2018-04-14Fix typosAndrea Gelmini
Change-Id: I981cfdf97d132afdd4d3729ec76b6a3f4c62909a Reviewed-on: https://gerrit.libreoffice.org/52210 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-04-13gla11y: Enable label-for/labelled-by pairing warningsSamuel Thibault
Change-Id: Icecc1cf3d7ec5c217e705640f1c4a049b75a6778 Reviewed-on: https://gerrit.libreoffice.org/52405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-04-12tdf#108580 related: improve existing redist detectionMike Kaganski
This uses VC Runtime upgrade code (checked using Upgrade table) to find installed redist, instead of checking registry keys that change between versions (while the runtime is still compatible, as with 2015 and 2017). Also, it checks if UCRT is present. Now, if either VC Runtime or UCRT is absent, we try to install the redist. This would allow to install UCRT in scenarios when first install was attempted on a system not suitable for UCRT (like Win7 w/o SP1, or Win8.1 w/o April 2014 update rollup), where VC Runtime gets installed, but UCRT is still missing. We use the ucrtbase.dll version to check that; and as the expected version is 10.x, we take into account that Win10 lies about versions. Change-Id: I864dfc09cf1bdc775501729fa2a27dc98295588c Reviewed-on: https://gerrit.libreoffice.org/52794 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-12typo: requrired -> requiredAndras Timar
Change-Id: I0cd28356834a14a2f53545fb3c8e87f067eac789 Reviewed-on: https://gerrit.libreoffice.org/52776 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-04-12tdf#108580 related: check for Windows 8.1 April 2014 update rollupMike Kaganski
... since it's the required prerequisite for Universal CRT. This moves Windows version check to LaunchCondition table; and adds a check for kernel32.dll version associated with the said update level. Change-Id: I1de84dc47c9392fcb7122e1a877db2e99eae2415 Reviewed-on: https://gerrit.libreoffice.org/52743 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-11Fix variable in error stringMike Kaganski
Change-Id: Ia6118f03b8e83c2726df955d89bfdc8da5764992 Reviewed-on: https://gerrit.libreoffice.org/52717 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-11new loplugin:unusedvariablemoreNoel Grandin
collection of heuristics to look for local variables that are never read from i.e. do not contribute to the surrounding logic This is an expensive plugin, since it walks up the parent tree, so it is off by default. Change-Id: Ib8ba292241bd16adf299e8bba4502cb473513a06 Reviewed-on: https://gerrit.libreoffice.org/52450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-04-10vcl: detach usage and remove GraphicManager and GraphicCacheTomaž Vajngerl
Also remove some GraphicObjectTest because they call into GraphicManager which now doesn't exist anymore. Change-Id: Ia434736d8611df629af3e897c878a7fb8bbe4706 Reviewed-on: https://gerrit.libreoffice.org/52243 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-04-09Merge in Flatpak improvementsStephan Bergmann
...from <https://github.com/flathub/org.libreoffice.LibreOffice/>: commit 7a2393f5fcab8c6938180c4718f2c61acd495528 Author: Robert McQueen <rob@endlessm.com> Date: Tue Apr 3 10:41:22 2018 +0100 port to freedesktop.org 1.6 runtime Gtk+3/GIO/etc dependencies used by LO in "GNOME" mode are actually included in the freedesktop.org runtime. Try to build against fd.o by downgrading gst-libav (fd.o has gst 1.10 rather than gnome's 1.12), bundling dbus-glib and disable Gtk+ 2. commit 42650da01f270e86bfb40035a9194b23ccf24c4c Author: Robert McQueen <rob@endlessm.com> Date: Tue Apr 3 11:23:27 2018 +0100 fix up LD_LIBRARY_PATH with gcc7 Append to library path rather than resetting it (causes build failures due to overriding /app/lib). commit 3e4c655294c8124cb54e1c651ec4dc1230b8151e Author: Robert McQueen <rob@endlessm.com> Date: Tue Apr 3 11:25:02 2018 +0100 fixup solenv/bin/assemble_flatpak.sh Use mkdir -p to be robust to other modules (ie dbus-glib) creating some of the paths before we do. commit d1d449ffa837b1de876f524494dbce09ec92ce73 Author: Robert McQueen <rob@endlessm.com> Date: Wed Apr 4 15:50:49 2018 +0100 split resource/registry data into Locales extension Move the language-specific data into the /app/share/runtime path which flatpak-builder splits into the Locale extension if we re-enable separate-locales. We symlink the original locations back to these paths, which means we have dangling symlinks depending on which Locale sutpaths are installed. Include Stephan Bergmann's patch from https://gerrit.libreoffice.org/#/c/52381/ to make the configmgr robust to such dangling links. commit ad6674f166c68fb79e19d80950a104a0a33f81dc Author: Robert McQueen <rob@endlessm.com> Date: Wed Apr 4 16:05:28 2018 +0100 make locale split glob more specific This loop will fail if the share/registry/res folder gains any .xcd files which are not named fcfg_langpack_* or registry_* so just to be safe, only glob these files. Change-Id: Icd41d7077b9f308dbb196927715b210328709662 Reviewed-on: https://gerrit.libreoffice.org/52642 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-04-09tdf#108580 related: Check for SP level of the minimal supported OSMike Kaganski
Currently we support Win7 SP1 and later; so let installer fail on lower SP levels. Change-Id: I807e0a04870b9eeabbfae258d68da4a1156b0408 Reviewed-on: https://gerrit.libreoffice.org/52619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-04Fix SfxItemSet pretty printer after some uniqueptr conversionsKatarina Behrens
just whyyyyyyy are you people doing this, why do you gratuitously break things others rely upon for productivity?!?? I don't give a F about uniqueptrs, all I want is to be able to print this bloody SfxItemSet. It's frustrating AF Change-Id: I0b6110c1806c31a3c098fb9dc73883047191c7f9 Reviewed-on: https://gerrit.libreoffice.org/52362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-04-03Remove leftover framework/inc/uielement/notebookbarmenucontroller.hxxStephan Bergmann
...after 5c573a2f7473bae7bb965ca36557cd1b0bf7b9c9 "tdf#115131 made a common submenu for toolbars and notebookbars" Change-Id: Ic1713fa1173a8dbb1bcc971c30d0df4549c825a9 Reviewed-on: https://gerrit.libreoffice.org/52331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-04-03Don't use /NATVIS for static librariesMike Kaganski
This avoids linker warnings: LINK : warning LNK4044: unrecognized option '/NATVIS:path/to/solenv/vs/LibreOffice.natvis'; ignored Change-Id: I9cb0dee7a4f1b07e975371f122aa9c7dbba783e1 Reviewed-on: https://gerrit.libreoffice.org/52309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-03new loplugin:dbgunhandledexceptionNoel Grandin
enforce that DBG_UNHANDLED_EXCEPTION is called first in a catch block, otherwise it cannot do it's job properly Change-Id: I906436c6861212c44f8f21552ccbceb54f15c6e1 Reviewed-on: https://gerrit.libreoffice.org/52303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-04-03Put back blacklisted fileStephan Bergmann
...that had been removed with 5c573a2f7473bae7bb965ca36557cd1b0bf7b9c9 "tdf#115131 made a common submenu for toolbars and notebookbars", apparently in error. Change-Id: Ic86ae8885872065a8e1c9b833bdd56081caea457
2018-04-03Create temp copies of test docs in Python/UITestsStephan Bergmann
...where necessary, so the tests will succeed if SRCDIR is a read-only tree. Change-Id: Iea4c52d5982d3eba079088ef1670ff557ce30c3f Reviewed-on: https://gerrit.libreoffice.org/52122 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-04-02tdf#115131 made a common submenu for toolbars and notebookbarsKshitij Pathania
Also added the submenu in base, maths and draw Change-Id: I94850c09c08fd3848eabe2597679634f30fbc735 Reviewed-on: https://gerrit.libreoffice.org/49575 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2018-04-02give DBG_UNHANDLED_EXCEPTION_WHEN an area parameterNoel Grandin
and rename it to DBG_UNHANDLED_EXCEPTION, to make it more like the SAL_WARN-type macros. Use some macro magic to deal with different numbers of arguments. Update the sallogareas plugin to check the area parameter of DBG_UNHANDLED_EXCEPTION. Change-Id: Ie790223244c3484f41acb3679c043fb9b438e7c4 Reviewed-on: https://gerrit.libreoffice.org/52073 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-31tdf#115226 Update bundled Amiri to 0.111Andras Timar
Change-Id: I4f07943ccd27c1c58e32c0513befe72ae0839b93 Reviewed-on: https://gerrit.libreoffice.org/52184 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2018-03-31use UnoGraphic directly in GetXGraphic, move hxx to inc/graphicTomaž Vajngerl
Change-Id: I6f170709255f396e82591572efef399fa438dc0e Reviewed-on: https://gerrit.libreoffice.org/52145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-03-30tdf#115396 fix mode of files installed from externalsDavid Tardon
Change-Id: I608f46235f2e80e74f6900831d13e082b167cfce Reviewed-on: https://gerrit.libreoffice.org/52074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-29Fix PythonTest_*.clean targetsStephan Bergmann
Change-Id: If8d0b89810c7c9a0cf8664e5f34be154e35e40ed Reviewed-on: https://gerrit.libreoffice.org/52071 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-27gla11y: add support for marking false positivesSamuel Thibault
Change-Id: I62c24f0aa20dea1cca4ba77a71dbb247bc37a5b5 Reviewed-on: https://gerrit.libreoffice.org/51545 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-03-27gla11y: update heuristics but don't enable warnings yetSamuel Thibault
This updates gla11y with all heuristics to detect orphan labels and widgets without too many false positives. This updates gbuild to tell gla11y to only emit errors about undefined targets and about orphan warnings for GtkScale (as was the case with previous versions). More errors and warnings will be enabled progressively later on. Change-Id: I96580eb0eb8eb327f0f54563d7976a5148e9531a Reviewed-on: https://gerrit.libreoffice.org/51161 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-03-27Require and import Font::TTF::Font instead of useMike Kaganski
... to avoid the dependency in non-windows builds Change-Id: I37a95cf49b01a24833bcc01166d5c2c855ce1b49 Reviewed-on: https://gerrit.libreoffice.org/51870 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-26Related: tdf#116581 Use Font:TTF::Font to get font versionsMike Kaganski
This allows to correctly get font (including OTF) versions, instead of matching strings in binary files. Fonts affected: ==== Alef_Bold.ttf 1.0.0.0 → 1.1.0.0 Alef_Regular.ttf 1.0.0.0 → 1.1.0.0 amiri_bold.ttf 1.0.0.0 → 0.109.0.0 amiri_boldslanted.ttf 1.0.0.0 → 0.109.0.0 amiri_quran.ttf 1.0.0.0 → 0.109.0.0 amiri_regular.ttf 1.0.0.0 → 0.109.0.0 amiri_slanted.ttf 1.0.0.0 → 0.109.0.0 Carlito_Bold.ttf 1.1.0.0 → 1.103.0.0 Carlito_BoldItalic.ttf 1.1.0.0 → 1.103.0.0 Carlito_Italic.ttf 1.1.0.0 → 1.103.0.0 Carlito_Regular.ttf 1.1.0.0 → 1.103.0.0 NachlieliCLM_Bold.otf → 0.131.0.0 NachlieliCLM_BoldOblique.otf → 0.131.0.0 NachlieliCLM_Light.otf → 0.131.0.0 NachlieliCLM_LightOblique.otf → 0.131.0.0 LiberationMono_Bold.ttf 2.0.0.0 → 2.0.1.0 LiberationMono_BoldItalic.ttf 2.0.0.0 → 2.0.1.0 LiberationMono_Italic.ttf 2.0.0.0 → 2.0.1.0 LiberationMono_Regular.ttf 2.0.0.0 → 2.0.1.0 LiberationSans_Bold.ttf 2.0.0.0 → 2.0.1.0 LiberationSans_BoldItalic.ttf 2.0.0.0 → 2.0.1.0 LiberationSans_Italic.ttf 2.0.0.0 → 2.0.1.0 LiberationSans_Regular.ttf 2.0.0.0 → 2.0.1.0 LiberationSerif_Bold.ttf 2.0.0.0 → 2.0.1.0 LiberationSerif_BoldItalic.ttf 2.0.0.0 → 2.0.1.0 LiberationSerif_Italic.ttf 2.0.0.0 → 2.0.1.0 LiberationSerif_Regular.ttf 2.0.0.0 → 2.0.1.0 LiberationSansNarrow_Bold.ttf 1.7.0.0 → 1.7.4.0 LiberationSansNarrow_BoldItalic.ttf 1.7.0.0 → 1.7.4.0 LiberationSansNarrow_Italic.ttf 1.7.0.0 → 1.7.4.0 LiberationSansNarrow_Regular.ttf 1.7.0.0 → 1.7.4.0 FrankRuhlHofshi_Bold.otf → 5.1.0.0 FrankRuhlHofshi_Regular.otf → 5.1.0.0 MiriamLibre_Bold.otf → 1.0.0.0 MiriamLibre_Regular.otf → 1.0.0.0 NotoKufiArabic_Bold.ttf 1.0.0.0 → 1.4.0.0 NotoKufiArabic_Regular.ttf 1.0.0.0 → 1.4.0.0 NotoNaskhArabicUI_Bold.ttf 1.0.0.0 → 1.7.0.0 NotoNaskhArabicUI_Regular.ttf 1.0.0.0 → 1.7.0.0 NotoNaskhArabic_Bold.ttf 1.0.0.0 → 1.6.0.0 NotoNaskhArabic_Regular.ttf 1.0.0.0 → 1.7.0.0 NotoSansArabicUI_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSansArabicUI_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSansArabic_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSansArabic_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSansArmenian_Bold.ttf 1.0.0.0 → 2.40.0.0 NotoSansArmenian_Regular.ttf 1.0.0.0 → 2.40.0.0 NotoSansGeorgian_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSansGeorgian_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSansHebrew_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSansHebrew_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSansLao_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSansLao_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSansLisu_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSans_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSans_BoldItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSans_Condensed.ttf 1.0.0.0 → 2.0.0.0 NotoSans_CondensedBold.ttf 1.0.0.0 → 2.0.0.0 NotoSans_CondensedBoldItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSans_CondensedItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSans_Italic.ttf 1.0.0.0 → 2.0.0.0 NotoSans_Light.ttf 1.0.0.0 → 2.0.0.0 NotoSans_LightItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSans_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSerifArmenian_Bold.ttf 1.0.0.0 → 2.40.0.0 NotoSerifArmenian_Regular.ttf 1.0.0.0 → 2.40.0.0 NotoSerifGeorgian_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSerifGeorgian_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSerifHebrew_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSerifHebrew_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSerifLao_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSerifLao_Regular.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_Bold.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_BoldItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_Condensed.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_CondensedBold.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_CondensedBoldItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_CondensedItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_Italic.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_Light.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_LightItalic.ttf 1.0.0.0 → 2.0.0.0 NotoSerif_Regular.ttf 1.0.0.0 → 2.0.0.0 ReemKufi_Regular.ttf 1.0.0.0 → 0.6.0.0 This requires Font::TTF::Font perl module to be installed. Change-Id: Ibb6c384baa2e74524845b6c5a1d4d2f26b7e530b Reviewed-on: https://gerrit.libreoffice.org/51793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-24file.pm : quick build fixMike Kaganski
Regression from commit 2367557493c216be5b5e8156ba6493d440a10b0f Change-Id: If2d11856db8f7f341a8f3c2b3a73f7afdff6a621 Reviewed-on: https://gerrit.libreoffice.org/51792 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-23tdf#116581: also read UTF16-encoded version string from TTFMike Kaganski
Change-Id: I47d8a755450b085be39346615f06cee4f920859f Reviewed-on: https://gerrit.libreoffice.org/51781 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-22move btndlg from vcl to toolkitCaolán McNamara
Change-Id: Iecc528bce1df9a67af43f9d9dd3ed41af24b0fad Reviewed-on: https://gerrit.libreoffice.org/51713 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-21Turn on clang-format for these filesMiklos Vajna
I (tried to) keep these files consistent locally with astyle in the past, switching to clang-format makes sure that the recent problem with introducing inconsistencies in these files doesn't happen again. (On the flip side, it's great to see that now others also touch this PDF/pdfium code. :-) ) Change-Id: I6065eab77c584197a82fe48e7d3e81b445106efd Reviewed-on: https://gerrit.libreoffice.org/51701 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-03-20Make failure to create symlink a fatal errorStephan Bergmann
...see commit message of f07e2496963baf8f7c0fecc79e7a420544075d98 "sdk/lib dir missing from Linux installation sets" Change-Id: Idb0f3437c27c867bc628fd3084f2a54c47beef17 Reviewed-on: https://gerrit.libreoffice.org/51428 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-16sdk/lib dir missing from Linux installation setsStephan Bergmann
...after cfd2691e5bf398304d7816227b933e53907b6204 "[API CHANGE] Remove salcpprt static library" had removed the sole regular File item from gid_Dir_Lib_Sdk, leaving only Unixlink items. But the solenv/bin/modules/installer.pm code used to only auto-create any directories that contain regular Files. Changed that to also consider Unixlinks in addition to regular Files. And to add insult to injury, the code in solenv/bin/modules/installer/simplepackage.pm creating the actual symlinks represented by the Unixlink items silently does nothing when a symlink cannot be created (because the partent dir is missing). To be fixed in another follow-up commit. Change-Id: Ic7a682a17ac59c789c85c56c825dd623bc59428c
2018-03-16solenv: sort the clang-format blacklistChris Sherlock
LC_ALL=C sort solenv/clang-format/blacklist > ~/blacklist mv ~/blacklist solenv/clang-format/blacklist Change-Id: Id00c5dc912220c6af6b1334e833abef4a0889ee0 Reviewed-on: https://gerrit.libreoffice.org/51349 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-03-15Adapt solenv/flatpak-manifest.in to recent download.lst changesStephan Bergmann
Change-Id: Id9a41e528e45d60a5429be4c51d58badff200fba
2018-03-14fix pretty printing of Fraction betterNoel Grandin
work-around gdb bug, and deal with different representations of std::unique_ptr in different versions of libc++. Change-Id: I02a1f49c07dbcd70e13ef6be48e20b510bf5e3fa
2018-03-14Adapt FractionPrinterStephan Bergmann
...to 048a32d903c8cc81a8836c7c7209b92e0bfd6cd7 "use unique_ptr for pImpl in tools/", exploiting intimate knowledge of libstdc++ internals as was already done in 51bb68928933bf5d72efb9193f1be6af6e72c80f "fix BigPtrArray pretty printer". Due to <https://sourceware.org/bugzilla/show_bug.cgi?id=22968> "ptype does not find inner C++ class type without -readnow", at least for me only works when gdb is invoked with -readnow. Change-Id: I365733f3c661eea2f19a9b85015aa5d50e63e6a4
2018-03-14loplugin:unusedmethodsNoel Grandin
Change-Id: I7c780be3e2740fd9b03c39ebe16935d61caf4f7e Reviewed-on: https://gerrit.libreoffice.org/51257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-12solenv: the installer's -b parameter is unusedMichael Stahl
"build" is hard-coded to "majorminor0". Change-Id: I15271544917f70b8ae029bd7542aecfe0a46befe
2018-03-12solenv: installer's -m parameter & globals::minor & PRODUCTMINOR unusedMichael Stahl
Change-Id: I2f550ca5b02551b84d3631e0101918af49924fe2
2018-03-12solenv: LAST_MINOR is effectively deadMichael Stahl
Change-Id: I07d90c68934712295952e6e6725e0206c16a5b7e
2018-03-11gbuildtojson: unblacklist i18npool scaddins toolsMike Kaganski
Change-Id: I26a41fa7afb2fd374103e7a4a321be35b4bf22a1 Reviewed-on: https://gerrit.libreoffice.org/51081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl
This is preparing to change how GraphicManager works where it won't base itself around GraphicObject anymore but Graphic. No functional or cosmetic change was made to the classes, only changes that were needed because of the move and rename. The only thing that wasn't moved is the GraphicRenderer as it is not needed in vcl for now (but makes sense to move it in the future to keep graphic stuff together). grfmgr was renamed to GraphicObject as the GraphicManager will be changed a lot and most likely moved out, so the name grfmgr won't make any sense anymore. All the UNO implementations were renamed with a prefix Uno and used the same name as the class name. This is made to be more specific which are the Uno objects (for example graphic.cxx contained the implementation of XGraphic, which is similar to graph.cxx contains Graphic). Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137 Reviewed-on: https://gerrit.libreoffice.org/51068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-03-10gbuildtojson ide-integration: unblacklist sal cppu cppuhelper cpputoolsMike Kaganski
Change-Id: I329c643a564af7559e6c2f5cae79875266fec09c Reviewed-on: https://gerrit.libreoffice.org/51039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-08Make ubsan-suppressions a bit more preciseStephan Bergmann
Change-Id: I9a326da5e7c69fc4c7f21e472c1f1e2c8a260c1b
2018-03-05drop sax::tools::*base64 methodsNoel Grandin
and use the underlying comphelper methods rather. This is so that I can break the dependency that tools has on sax, and can add methods that make sax depend on tools. Change-Id: I8a2d6ce2ffc3529a0020710ade6a1748ee5af7d5 Reviewed-on: https://gerrit.libreoffice.org/50767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-05Make LibreOffice buildable on Haiku.Kacper Kasper
* Obviously VCL wiring is missing, but most components do build. Change-Id: Ie853ada1423a8f4c2b647be59cd47a7730c42978 Reviewed-on: https://gerrit.libreoffice.org/50293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2018-03-05vcl: move vcl/source/gdi/bitmap.cxx to vcl/source/bitmap/bitmap.cxxChris Sherlock
Change-Id: Ib74ac5016b6f99adef41b6ee562701b5158cffd3 Reviewed-on: https://gerrit.libreoffice.org/50532 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-03-02More sc files relying on float-divide-by-zero resulting in infStephan Bergmann
...triggering -fsanitize=float-divide-by-zero during e.g. CppunitTest_sc_statistical_functions_test. (Found only now after I removed -fno-sanitize-recover=ALL -fsanitize-recover=float-divide-by-zero from CXX and instead added halt_on_error=1 to UBSAN_OPTIONS.) Change-Id: Iead2147e42af33b987edb8e10804bc4eefa1aeca Reviewed-on: https://gerrit.libreoffice.org/50637 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-02Restrict UITest SAL_LOG_FILE hack to WindowsStephan Bergmann
...where it appears to be necessary, as the subprocess.Popen in uitest/libreoffice/connection.py apparently doesn't manage to make the spawned soffice process send stdout/-err output to the python process's stdout/-err (as works fine e.g. on Linux). (Only using that hack on Windows has the advantage that on other platforms output from the python and the soffice process will be properly interspersed. On Windows, at least sal/log.hxx messages from the soffice process are captured that way, while its stdout/-err output is still lost.) Also dump the soffice.out.log content in case of failure. (Note that, despite the file's name, it contains any sal/log.hxx messages from both the python and the soffice process.) Change-Id: Ic99a62b1abbe2fbbf98128a35203e2fd05335266 Reviewed-on: https://gerrit.libreoffice.org/50620 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-02gla11y: do not trigger lxml externalpackage build when system-providedSamuel Thibault
if there was no other external package built already, even just touching lxml.done would fail. Change-Id: I8b3ad63477421d797f2d6eb07b88c86041a5a1af Reviewed-on: https://gerrit.libreoffice.org/50614 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>