summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
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>
2018-03-02delete colordata.hxxNoel Grandin
move what we still need into color.hxx Change-Id: Ied7e31eb16468aa334c666b1499a6262f16a6350 Reviewed-on: https://gerrit.libreoffice.org/50561 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-02xmlsecurity: create XMLElementWrapper instances with a constructorMiklos Vajna
Change-Id: I0fe7d0a21b0ea35b537466316a637a0a46c52fe5 Reviewed-on: https://gerrit.libreoffice.org/50601 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-03-02gbuild-to-json: unblacklist shellMike Kaganski
Change-Id: I42f8a69c5deba1f83f6203f19e5f2fcfad837dea Reviewed-on: https://gerrit.libreoffice.org/50597 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-01gla11y: fix build outside sourceSamuel Thibault
We need to pass the absolute path to gla11y for build outside source to work. We however do not want to expose absolute paths in suppression files, so we have to introduce a parameter that provides the common prefix to be stripped. Change-Id: Iaf652cb8d6c3646438f828a0949dfd811f964e77 Reviewed-on: https://gerrit.libreoffice.org/50568 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
2018-02-28gla11y: add warning/error suppression machinerySamuel Thibault
Also add an accessibility test which does have a few existing issues, and the corresponding suppression lines. Change-Id: I7095cdc13e40501bbdf6e635c1e4f93f70bc1316 Reviewed-on: https://gerrit.libreoffice.org/50251 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-28Build external lxml if not provided by systemSamuel Thibault
except on windows, where gla11y will resort to python's internal xml parser, which does not provide line numbers. This allows gla11y to be runnable on all systems. Change-Id: Ica4eb90f59bddfcefd783fc2ed9c8c27357e7572 Reviewed-on: https://gerrit.libreoffice.org/50115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-28Merge upstream fixes into solenv/flatpak-manifest.inStephan Bergmann
* <https://github.com/flathub/org.libreoffice.LibreOffice/commit/ f5d97291e302d98c217c955c52b255795d4d4cad> "Bump runtime-version to org.gnome.Platform 3.26" * <https://github.com/flathub/org.libreoffice.LibreOffice/commit/ 7d69e505165d4bbf5fa0b34b5fb2cbff9dfaf9bd> "For now, bundle gst-libav to be able to play mp4 videos in impress" Change-Id: I1924d84be7fe577e302b0c1b8c7e2971e8583d73
2018-02-28Use Unicode for senddocMike Kaganski
Also removes unused code and unnecessary dependencies from it. Change-Id: Ib6de29358098846ca5e7330b10e67a88cfff8a6a Reviewed-on: https://gerrit.libreoffice.org/50444 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-02-27Add newly wrong formatted files to clang-format blacklistMiklos Vajna
Change-Id: I1c3c3754f4c18415f74342c01de6afd246b29f4d
2018-02-27pot creation: don't ignore multiple locations/occurrences…Christian Lohmaier
when making paths relative to SRCDIR 674b1c924966b4a3b6027509a6ab682e7c5aaaea as well as the code before ignored multiple locations in po file Change-Id: Idf5c5ca99d0ec8272e669621e132d7a495ceaff8 Reviewed-on: https://gerrit.libreoffice.org/50439 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-02-27convert various MessBox to weld::MessageDialogCaolán McNamara
Change-Id: I4d2d0393c753114aeb9bb7e646dfdc810f6caa38 Reviewed-on: https://gerrit.libreoffice.org/50398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-26convert remaining ErrorBox to weld::MessageDialogCaolán McNamara
and convert remaining QueryBox to weld::MessageDialog Change-Id: Ifb4c316dee8eabf57c4940c44e29c65a2781aa6c
2018-02-25vcl: remove vcl/qa/cppunit/BitmapTest.cxx from clang-format blacklistChris Sherlock
I am actively working on bitmap tests, it is much easier if I just make a seperate commit which runs clang-format over this file, gives a clear line of demarcation so you can see what is being changed. Change-Id: I70357c935aaeac4cabdf95a98b2cc8e40fd736e0 Reviewed-on: https://gerrit.libreoffice.org/50298 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-23new loplugin:doubleconvert to with ColorData workNoel Grandin
Change-Id: Ib8f2ef485f548645c4b0e7cf080b72b28c4e278d Reviewed-on: https://gerrit.libreoffice.org/50226 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-23Merge "Enable device=dri to fix opengl crashes" into flatpak-manifest.inStephan Bergmann
...from <https://github.com/flathub/org.libreoffice.LibreOffice/pull/18/commits/ 637788fa1d9fc6514467a4a193e5cf32f696b400> "Enable device=dri to fix opengl crashes" Change-Id: Ic989bfb3e46057dc2fd20d2cd6f17d5733338642
2018-02-22solenv: Update gb_PackageInfo_emit_l10n_for_one_langRico Tzschichholz
Add cjk_*, ctl_* and ctlseqcheck_$LANG.xcd files to install list Change-Id: I2c56cf2af3cc444cb7075740a981b6954950e5f5 Reviewed-on: https://gerrit.libreoffice.org/50182 Reviewed-by: Rico Tzschichholz <ricotz@ubuntu.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-22Always execute pack_images.py with the right Python interpreterStephan Bergmann
With --enable-python=fully-internal, where PYTHON_FOR_BUILD is empty, this executed the "#!/usr/bin/env python" shebang in pack_images.py, using whatever python would be found (or not) on the system. With this fixed, there is no need any more for pack_images.py to be executable. Change-Id: I40ad3769898f3eb711dbe555d4c3faa9e3c1456d Reviewed-on: https://gerrit.libreoffice.org/50180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-22Fix clean-up of gb_UIConfig_get_a11yerrors_targetStephan Bergmann
The old code tried to remove non-exisiting *.a11yerrors files corresponding to a UIConfig's individual *.ui files, not the one single *.a11yerrors file corresponding to the UIConfig itself. Also, there's no need to have a UIA11YErrorsTarget merely for clean-up. Just do that clean-up as part of gb_UIConfig_get_clean_target. Change-Id: I6676f08496254398801bb75172c1326d1c843071 Reviewed-on: https://gerrit.libreoffice.org/50156 Reviewed-by: Samuel Thibault <sthibault@hypra.fr> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-22gb_UIConfig_get_imagelist_target missing from clean targetStephan Bergmann
Change-Id: I541bd57815bd66978326486b29165d0480d8a7b6 Reviewed-on: https://gerrit.libreoffice.org/50157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-22Process all added uifilesStephan Bergmann
Change-Id: I9efb05973e7d8468afb82bd9875d527412a4fd1c Reviewed-on: https://gerrit.libreoffice.org/50116 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-22update clang-format blacklistNoel Grandin
after I accidentally formatted it in commit 50d0ec571f302fe54ac7ddac827b571c94554bec rename redundantcopy loplugin to redundantfcast Change-Id: I8e006fa9a90af3d70ef7e6a9fdef2d6f294e0fba
2018-02-22solenv: Fix gb_MoTarget_get_install_target argumentRico Tzschichholz
This fixes l10n-*.files generation of packageinfo and makes "install-packages-l10n-*" targets work again. Change-Id: Ib4d726f1079360cade8d5f398b1f5144d6693152 Reviewed-on: https://gerrit.libreoffice.org/49528 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rico Tzschichholz <ricotz@ubuntu.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-22gla11y: Use python interpreter decided by configureSamuel Thibault
configure uses $PYTHON to determine lxml availability, so the make rule should use the same instead of letting gla11y find a python interpreter through "env", in case e.g. $PYTHON is python3, and lxml is available in python3 but not in python (actually python2). Along the way, rather use PYTHON_FOR_BUILD for coherency. Change-Id: Ied4c05aca462cc16685c61f36b56bb9e8612d90e Reviewed-on: https://gerrit.libreoffice.org/50087 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-22sw: clang-format textboxhelperMiklos Vajna
This was more or less consistent before, but the recent automatic rewrites broke consistency, just give up on manual formatting here. Change-Id: Ieb387e3d7230d227e33ba0b420cfa572309c5330 Reviewed-on: https://gerrit.libreoffice.org/50119 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-02-22rename redundantcopy loplugin to redundantfcastNoel Grandin
Change-Id: I34e28a30a4f1fd264c18c901cd94094531543271
2018-02-22Move include/sfx2/notebookbar/NotebookbarContextControl.hxx to include/vcl/Stephan Bergmann
...as it is included from other include/vcl/*.hxx files. (And moving it there helps the heuristic in an upcoming improvement of loplugin:dyncastvisibility.) Change-Id: I15e061fbaba8e82235afb5b312f7b38f26eec900 Reviewed-on: https://gerrit.libreoffice.org/50123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>