summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2017-07-19oss-fuzz: fix wmffuzzerCaolán McNamara
Change-Id: Idd6a03ed46161c6d35088401ae2816edc8a69f8b
2017-07-19CompilerTest_compilerplugins_clang: disable test failing with clang-3.8Miklos Vajna
10:28 <@vmiklos> noelgrandin: clang-3.8 is unhappy for the unusedfields plugin: https://pastebin.com/raw/MJ30aKcs 10:30 <@noelgrandin> vmiklos: ... probably best to just disable the unusedfields solenv testing in the .mk file Change-Id: I1873f1f76d7a7b0438002ffda9180abe582e07d7
2017-07-18More avoidance of invoking gdb with LD_LIBRARY_PATH setStephan Bergmann
...similar to 785eb0ed14cde731c2795f68f004f0b811cfe387 "gbuild: try to avoid invoking gdb with LD_LIBRARY_PATH set", this time for DEBUGCPPUNIT=TRUE in addition to CPPUNITTRACE="gdb --args" Change-Id: I3e2cc5abf76947dc4c7b4d6caa3fd5720720e050
2017-07-15emfplus: create a wmf/emf/emf+ primitive based importerArmin Le Grand
First steps to organize an importer that can read/interpret wmf/emf/emf+ and deliver a primitive representation for the content by parsing it. Use the same mechanisms as already applied for Svg, so to reuse abilities to keep original binary data to allow save again and embedding in files and have an implemented replacement bitmap based representation. For this, unify the used helper classes to handle more than just Svg. For 1st try, add test code and static bool switches Change-Id: I6e0a82943541d811a8f8d65a84115569fcd8cee7
2017-07-13fix BigPtrArray pretty printerNoel Grandin
after commit 64079184cc06444e9dfdb55a5c66829e929d4a59 "improve useuniqueptr loplugin to find arrays" Change-Id: I29841af65fcb0c1f92e52d9aeee164328bbb4663
2017-07-13Run Idle tasks immediatlyJan-Marek Glogowski
There is really no reason to wait a millisecond for an idle. Change-Id: I7665d5f2e7d6ba3e01290a692bbc8e42c36b9986
2017-07-13Introduce a scheduler stackJan-Marek Glogowski
While the stack removes all invoked tasks from the queue, which actively removes it from scheduling, it also helps to faster handle nested calls, as we don't have to look for the previous position to move the task to the end of the queue for the round robin. Change-Id: I358cf2492e9630f67685a2b780509edb56691830
2017-07-12add script to update translations for gettextCaolán McNamara
Change-Id: I1ec48a71103aad50e8a303a5356a25f3a168d6bd Reviewed-on: https://gerrit.libreoffice.org/39867 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-07-07re-add some gdb BigPtrArray pretty printingNoel Grandin
After commit c6902761d797253cda8b3f71f102c66108585e24 "Revert "use std::vector in BigPtrArray"" <mst_> noelgrandin: you reverted both gdb changes but only one sw change? <noelgrandin> mst_, I thought your gdb change only appliled to the std::vector? <mst_> noelgrandin: there was another std::something or other change there, one was mvInfo and the other mvData <noelgrandin> mst_, sigh, will fix that Change-Id: I3059d29b1a559eb3077f5d713be011e15e887ee0
2017-07-07Revert "use std::vector in BigPtrArray"Noel Grandin
which is causing crashes in the crashtesting in ooo119635-3.docx and ooo119568-2.docx It is definitely some kind of use-after-free error, but the compress and delete logic for BigPtrArray is too hairy for me to debug right now. This reverts commit 1eee0abd459a508a6dcf9e71cbf2c1be3725faa7. Also revert commit 4f743419a04375160437a910254c45dea396f70d "gdb pretty-printers: fix BigPtrArrayPrinter after recent std::isation" Change-Id: Id870876432a060f9347aafb43bf0df692ea24464 Reviewed-on: https://gerrit.libreoffice.org/39684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-06LibreOffice.natvis: several new visualisersMike Kaganski
Change-Id: I451797b987ec7a8ffa069cbf34f0c22d6c1ce280 Reviewed-on: https://gerrit.libreoffice.org/39628 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-07-05new loplugin unnecessaryparenNoel Grandin
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-05gbuild-to-ide: add VisualStudio visualizers file to solutionMike Kaganski
See https://msdn.microsoft.com/en-us/library/jj620914 Change-Id: Ibd18f1c36c46ea47c897542f35e3ea2a8bc0a8ac Reviewed-on: https://gerrit.libreoffice.org/39510 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-07-04Break solenv/bin/assemble-flatpak.sh out of dev-tools flatpak/build.shStephan Bergmann
,,,in preparation of moving to a flatpak-builder manifest.json approach Change-Id: Ie9e90a85cc6e94ff7191161085c6e607512db0c4
2017-07-03loplugin:unusedfields in slideshow..svtoolsNoel Grandin
Change-Id: I74d5a4b8cfc4b18267f99648a3112b163c91fd8c Reviewed-on: https://gerrit.libreoffice.org/39474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-03loplugin:casttovoidStephan Bergmann
Change-Id: I427b15b35ef6e7c803cb8a00c961d35175ae8cb2
2017-07-03Fix typosAndrea Gelmini
Change-Id: Icf25b22857abd97e8b6a72d3d546fd1eed882049 Reviewed-on: https://gerrit.libreoffice.org/39385 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-07-02loplugin:casttovoid: solenvStephan Bergmann
Change-Id: Icd4328eed3cd682c98fc9be7368fcbac55a94edf
2017-06-30CompilerTest_compilerplugins_clang depends on boost_headersStephan Bergmann
...since 09031ef2fe89a8a6321ca89cca49f1587fe577e6 "Avoid getQualifiedNameAsString" Change-Id: Ic663153c3cfb3d7264a6614c4fa4edd71fe6235f
2017-06-29improve refcounting lopluginNoel Grandin
to find ref-counted classes being managed via other smart pointer classes. Hopefully prevent needing fixes like 642ae256ea5b8083ba0b3c097ca8ea52304b9cdb "ChangedUIEventListener is refcounted, mustn't be helt by unique_ptr" Change-Id: I6b0c5f8f87ce3546a8a1104ce1000470c09459bd Reviewed-on: https://gerrit.libreoffice.org/39378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-29loplugin:oncevar variousNoel Grandin
Change-Id: I8b82d46d4688b1a59d6fe1b05da7d5c8dfc13ca6 Reviewed-on: https://gerrit.libreoffice.org/38766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-28gdb pretty-printers: fix BigPtrArrayPrinter after recent std::isationMichael Stahl
Change-Id: Ie98f080fbb0efb807dcb2fb7893811f68e831a8f
2017-06-28Try to get meaningful gdb backtraces for failed UITest core files after allStephan Bergmann
Change-Id: I6487eabdc0d6c84e919dff0f330bbc36a19f9da3
2017-06-23Sort listStephan Bergmann
Change-Id: I08882119972587b6c86ba0717cfc73d0fc4550e1
2017-06-22add factory function mapping for libspelllo archivebrainbreaker
Change-Id: I7cbea9381bc993e7894603c731ab0ac54e80d4b4 Reviewed-on: https://gerrit.libreoffice.org/39049 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-06-22--enable-optimized should be orthogonal to --enable-debug/--enable-dbgutilStephan Bergmann
Change-Id: I277f30129560ea9fa76d6439a60bb191358df99d Reviewed-on: https://gerrit.libreoffice.org/39088 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-06-22Revert "Temporary debg output to find out why tinderboxes still don't find ↵Stephan Bergmann
program" This reverts commit d36dc7b3ce28e6fe1590aa7cb72e53e2d745c073. Turns out e.g. tb75-lilith has a 'file' command that doesn't print "execfn:" information, just > /home/tdf/lode/jenkins/workspace/lo_tb_master_linux_dbg/workdir/UITest/calc_demo/done.core/core.24697: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/home/tdf/lode/jenkins/workspace/lo_tb_master_linux_dbg/instdir/program/soffice' (<https://ci.libreoffice.org/job/lo_tb_master_linux_dbg/13930/console>), but with a truncated "from:" path, so would probably be little benefit to try to get the path from the "from:" instead of (or in addition to) the "execfn:" information (where the latter appears to be more accurate at least with my local file-5.29-4.fc25.x86_64).
2017-06-22Temporary debg output to find out why tinderboxes still don't find programStephan Bergmann
...that dumped a core file. Is it just that the pathname is too long and gets truncated? To be reverted again. Change-Id: I2e571cf7d5d3a128e8875e01df37bfccadefe80a
2017-06-21Process all core files that are foundStephan Bergmann
...which can be useful e.g. when a UITest spawned multiple soffice.bin sub- processes that crashed Change-Id: Ic14ab286b320f2ee548c217e5395cfeec3afa889
2017-06-20Try guessing the actual executable that produced an ELF core fileStephan Bergmann
...which may be different from $EXECUTABLE e.g. when in a UITest (where EXECUTABLE=python.bin) an soffice.bin sub-process crashed Change-Id: Ia448c911b8475686e98c6bb6f43d7d32abece7cd
2017-06-20loplugin:unusedfields fix false positiveNoel Grandin
When the field in question is read from inside a constructor initializer. In the process, create some needed infrastructure in the plugin classes. Change-Id: I2f440efa6912801a236727c9fe3180404616958c Reviewed-on: https://gerrit.libreoffice.org/38960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-19only unit-test one loplugin at a timeNoel Grandin
tell the plugin code when we are unit-testing it, so we can suppress all the warnings except for the plugin we are currently testing Change-Id: I240c8e37eba90c219e53c29531a3a43bc841a1c8
2017-06-13Generalize loplugin:stringcopy to loplugin:redundantcopyStephan Bergmann
(such redundant std::unique_ptr copies could happen when changing parts of the code base to make use of std::unique_ptr individually) Change-Id: Ib48a45a212f9426a775c7f379bc5d3c92230218a
2017-06-13remove TDE integration (vclplug, address book, config backend)Michael Stahl
It has ~no users, can't even be built on modern Linuxes, and it annoys folks who want to refactor VCL. Per ESC decision from 2017-06-08, remove --enable-tde and --enable-tdeab. Change-Id: I51ce4786f29f8fcac2e2bb2a654c41fbfbbd8afd Reviewed-on: https://gerrit.libreoffice.org/38718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-10Revert "use LIBO_LANG=C.UTF-8 instead of en_US.UTF-8"Rene Engelhard
This reverts commit dc141130cde07e6fd2664972d214f2cbbf859f06. moggi/cloph insist on that it should be en_US.UTF-8 and people should either just use that or use locale-gen. Will give problems in chroot, but... *shrugs*
2017-06-10use LIBO_LANG=C.UTF-8 instead of en_US.UTF-8Rene Engelhard
since the first does exist just with pure chroots wihout (generated) locales, the latter not. Change-Id: I67c9e4652ee69e0c1edd3da631d65cfcd7a5dc35
2017-06-10uitest: set en_US.UTF8 for the LibreOffice instanceMarkus Mohrhard
Change-Id: If4726804c2b967582cbf1a4e816c1c7bee01aeeb Reviewed-on: https://gerrit.libreoffice.org/38626 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-07configure: remove ENABLE_CRASHDUMP placeholderMichael Stahl
It's called ENABLE_BREAKPAD now. Change-Id: I757c4da415fb895d7cc24f13e201329111246367
2017-06-07Remove gb_LinkTarget_add_generated_cxxobjectsStephan Bergmann
...in favor of gb_LinkTarget_add_generated_exception_objects. The former would have needed any flags to be passed in explicitly (but no call sites did), so e.g. StaticLibrary_graphite didn't have any debug information (when building with --enable-debug). I guess there is no downside to having C++ exception support enabled in these places, and using _add_generated_cxxobjects instead was likely an oversight in the first place (at least in the case of external/graphite/StaticLibrary_graphite.mk, it was that way ever since 1ceb47d96da9e7977c96241f49ad291ff0466970 "graphite: convert to gbuild", but for no apparent reason). Change-Id: I9986a6c5ec30a521095dbe5315e5ca649741a790
2017-06-06scp2: package 64-bit MSVC runtimes for explorer extensionsMichael Stahl
... and add BUILD_X64 conditional. Change-Id: Id512368dfd9dece583ead5aae1924db96f8a2a40 Reviewed-on: https://gerrit.libreoffice.org/38366 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-05gb_SUPPRESS_TESTS to build tests but not run themStephan Bergmann
Change-Id: I390b97bbacfc123b952be2b54cf1333b4d5c24a7
2017-06-04fix packaging with python 2.6Jochen Nitschke
set literal syntax was introduced in python 3 and backported to 2.7 later Change-Id: I4ddf76729de425ba93daf5c287969dacabcee01d Reviewed-on: https://gerrit.libreoffice.org/38393 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-06-03solenv: typo in mkdocs.sh scriptChris Sherlock
Change-Id: I446826c9f0b07b2d44321c1a1e68ea29c6d68daa
2017-06-02solenv: installer: remove DONT_DELETE styleMichael Stahl
This style was only handled in the installer code for registry items, but in scp2 it was only set for files, so effectively it was unused. Change-Id: I197eeded29648aee2489e302f7b5e48bf13a545c
2017-06-02scp2: move fonts to AutoInstallMichael Stahl
Add new PACKAGE_FILELIST_FONT The DONT_DELETE style has no effect for files. The FONT_WARN_IF_EXISTS style has no effect. Change-Id: Id062ada0a680341c01827e457b1166d625afe8cc
2017-06-02scp2: replace PACKAGE_FILELIST_DIR macro with SDK_PACKAGE_FILELISTMichael Stahl
Change-Id: I3632c618e385d3f9963637c26d94b8395d5b8cb5
2017-06-02gbuild: AutoInstall: allow per-module Package templateMichael Stahl
Change-Id: I83404709ae7bd3f4683ea9dab8d3f0e0875bc10f
2017-06-01HAVE_THREADSAFE_STATICS sould always be trueStephan Bergmann
...(for LIBO_INTERNAL_ONLY), now that the status of Android has been clarified, see <https://lists.freedesktop.org/archives/libreoffice/2017-June/077827.html> "Re: Some baseline thoughts" Change-Id: Ie9d5444df84c23d48c24b68d9d2ab5322c619858
2017-06-01For --with-outpath include workdir generated files without UnpackedTar*Eike Rathke
Change-Id: I07605c132432cb9454614368200e9c85695bea26
2017-06-01'clone' directory is gone and might even be a legit module name in futureEike Rathke
Change-Id: Iba0cf3345655a8ca61a4d55b9f045c713683f97b