summaryrefslogtreecommitdiffstats
path: root/sccomp
Commit message (Collapse)AuthorAgeFilesLines
* Add some missing #include <memory> to have std::unique_ptr.Jan Holesovsky2017-12-051-0/+2
| | | | | | | Change-Id: I0fb999f241c727eb4856aedadaf3c9f7872d3327 Reviewed-on: https://gerrit.libreoffice.org/45895 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* loplugin:useuniqueptr extend to check local varsNoel Grandin2017-12-051-4/+2
| | | | | | | | | | | | | | just the simple and obvious case for now, of a local var being allocated and deleted inside a single local block, and the delete happening at the end of the block Reviewed-on: https://gerrit.libreoffice.org/33749 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 2489000d3fd66319a8355fd4e37cfdfda47296d0) Change-Id: I3a7a094da543debdcd2374737c2ecff91d644625 (cherry picked from commit e540ccfb5eb43bd4a3d6920074dce8436720ba8e)
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-133-3/+3
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
* new loplugin unnecessary overrideNoel Grandin2016-07-151-0/+1
| | | | | | | Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb Reviewed-on: https://gerrit.libreoffice.org/27135 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko2016-06-091-4/+1
| | | | | | | | | | | | | | | | | | | | This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-2/+1
| | | | | | | | | | | | using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-103-6/+6
| | | | Change-Id: I0fc3144d5791e66d873c36f9a9adf1f3ca152d52
* com::sun::star->css in scaddins,sccomp,scriptingNoel Grandin2015-10-282-54/+54
| | | | | | | Change-Id: Id9167341940bac65f055e1e33ff0670f6fa0f6c4 Reviewed-on: https://gerrit.libreoffice.org/19629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-124-31/+31
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Actually check the return values of the various Coin* callsStephan Bergmann2015-10-071-7/+16
| | | | | | | | | | ...the code had been like this ever since it got introduced with 6d492447a37ec268fb5924e7fc5631c29c67325d "118160: Use CoinMP as replacement for lp_solve," but it looks more plausible that the return values should be checked rather than be ignored. At least, CppunitTest_sccomp_lpsolver keeps succeeding after the change (with --enable-coinmp). Change-Id: If450827ae034079c9ee69b4e49c55b480ac0de06
* Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-151-2/+2
| | | | | | | | | with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-5/+5
| | | | Change-Id: I7657e83fd1494a199528482d7000940cfa2f60d4
* stdexcept for std::runtime_errorCaolán McNamara2015-01-041-0/+1
| | | | Change-Id: Ic917730ced5ce60036dbab08c1f97ebefb6e86e8
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-041-2/+2
| | | | Change-Id: I82f668ef72e916d2ff11df5cda2a02653999f66f
* sccomp: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-182-2/+2
| | | | Change-Id: Ie8495d9da8d3e7c69d12ce3b4d19d3b864cdf818
* coverity#1202902 Uncaught CoinError exceptionCaolán McNamara2014-06-061-1/+10
| | | | Change-Id: I93488fa942f1975b9c32be6d37fc76ea955a2067
* DeInitVCL at end of testsStephan Bergmann2014-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-151-2/+2
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* sccomp: sal_Bool->boolNoel Grandin2014-04-242-10/+10
| | | | Change-Id: I9156ba8671348fd77b93921236827235775e1108
* sccomp: Fix description of com.sun.star.comp.Calc.CoinMPSolver.Matúš Kukan2014-04-044-6/+11
| | | | | | Forgotten in 077bdc73f2bcd625be1030fa8ff630c3dbd83657 Change-Id: Iddf90f1107f05351754830b49344cb24db1e1089
* loplugin:saloverrideStephan Bergmann2014-04-031-1/+1
| | | | Change-Id: I2f818c865345c9396b3292d9bf0f8520556223e1
* remove unnecessary scope qualifier from sal_Bool usesNoel Grandin2014-04-031-3/+3
| | | | | | i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
* override specifier 'override' not allowed on a destructorMatúš Kukan2014-04-032-2/+2
| | | | Change-Id: I8bcc31900a95f2b7600645decafdfe528343d6d7
* sccomp: Share common code and have only one library.Matúš Kukan2014-04-0310-1000/+689
| | | | | | And use constructor feature for UNO implementations. Change-Id: I42b6a6f417049cc8e2d44b74c7adc552680b1f2d
* sccomp_lpsolver does not need to link against scMatúš Kukan2014-04-031-1/+0
| | | | Change-Id: I47a758fbcfcefc2bdd1cdbb89ef219a7ebb2af47
* sccomp: Add very simple unit test for lp solvers.Matúš Kukan2014-04-023-0/+182
| | | | Change-Id: I359737ad57decf2b1988afbceab85645fbbf1f33
* sccomp: Make the source files more similar and fix some problems.Matúš Kukan2014-04-012-27/+24
| | | | Change-Id: I1e3c8aac52e9d2677937e08aac08db4ace5cb2b8
* Install coinmp and lpsolve linear solvers in parallel.Matúš Kukan2014-04-016-9/+61
| | | | Change-Id: If07d94a2f646c8377b76fdf645e85f9491e4f061
* Revert "Allow to build lpsolver based on CoinMP library."Matúš Kukan2014-04-012-10/+2
| | | | | | | | | | This reverts commit 4f7b96886ec2e98f270a9ec3c3509cd523fce7cc. Conflicts: configure.ac scp2/InstallModule_ooo.mk Change-Id: I5621496d70a2c493eb964c1138d310c68fa6d660
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-261-23/+23
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza2014-03-041-8/+2
| | | | | | | | | The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* Allow to build lpsolver based on CoinMP library.Matúš Kukan2014-03-032-2/+10
| | | | Change-Id: I0a3b2bd6744f6ccca0017cd1e06a4018f085445a
* 118160: Use CoinMP as replacement for lp_solve.Andre Fischer2014-03-031-0/+648
| | | | | | | | | | | | Original author: Niklas Nebel (cherry picked from commit 6d492447a37ec268fb5924e7fc5631c29c67325d) Conflicts: sccomp/source/solver/makefile.mk sccomp/source/solver/solver.cxx Change-Id: I84f9acb13a65cdfc9d173434ef630cbeb635db05
* Rename sccomp/source/solver/solver.cxx to solver-lpsolve.cxxMatúš Kukan2014-03-032-1/+1
| | | | Change-Id: I5034cdcbf08d68b2ed0fc9d16ee2635ba30a731b
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-262-42/+42
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from sccompAlexander Wilms2014-02-261-2/+2
| | | | | | | Change-Id: Ibf1d8ab8db874805a5cdab9a0cfa5bf84fb6b869 Reviewed-on: https://gerrit.libreoffice.org/8303 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-231-5/+5
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* make l10n buildable separatelyBjoern Michaelsen2013-11-141-1/+4
| | | | | | | | | | | | | | | | | | | | | - this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
* remove unnecessary use of OUString constructorNoel Grandin2013-11-111-2/+2
| | | | Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
* fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza2013-10-251-10/+2
| | | | | | | | Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d Reviewed-on: https://gerrit.libreoffice.org/6423 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unusedCaolán McNamara2013-08-161-1/+1
| | | | Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
* MPLv2 subset improvements.Michael Meeks2013-06-042-1/+12
|
* re-base on ALv2 code. Includes:Michael Meeks2013-06-033-63/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-072-8/+7
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* new module i18nlangtagEike Rathke2013-04-051-1/+1
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* ResMgr with LanguageTagEike Rathke2013-03-291-0/+1
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* Missing #include "sal/config.h"Stephan Bergmann2013-03-271-0/+2
| | | | Change-Id: I5223b11089d038d5c3f6c086432a6b2a8fd119c8
* -Wunused-macrosStephan Bergmann2013-03-271-0/+2
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|