summaryrefslogtreecommitdiff
path: root/sccomp/source
AgeCommit message (Collapse)Author
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
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
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
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>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I0fc3144d5791e66d873c36f9a9adf1f3ca152d52
2015-10-28com::sun::star->css in scaddins,sccomp,scriptingNoel Grandin
Change-Id: Id9167341940bac65f055e1e33ff0670f6fa0f6c4 Reviewed-on: https://gerrit.libreoffice.org/19629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-07Actually check the return values of the various Coin* callsStephan Bergmann
...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
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
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>
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I7657e83fd1494a199528482d7000940cfa2f60d4
2015-01-04stdexcept for std::runtime_errorCaolán McNamara
Change-Id: Ic917730ced5ce60036dbab08c1f97ebefb6e86e8
2015-01-04boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I82f668ef72e916d2ff11df5cda2a02653999f66f
2014-12-18sccomp: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: Ie8495d9da8d3e7c69d12ce3b4d19d3b864cdf818
2014-06-06coverity#1202902 Uncaught CoinError exceptionCaolán McNamara
Change-Id: I93488fa942f1975b9c32be6d37fc76ea955a2067
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-24sccomp: sal_Bool->boolNoel Grandin
Change-Id: I9156ba8671348fd77b93921236827235775e1108
2014-04-04sccomp: Fix description of com.sun.star.comp.Calc.CoinMPSolver.Matúš Kukan
Forgotten in 077bdc73f2bcd625be1030fa8ff630c3dbd83657 Change-Id: Iddf90f1107f05351754830b49344cb24db1e1089
2014-04-03loplugin:saloverrideStephan Bergmann
Change-Id: I2f818c865345c9396b3292d9bf0f8520556223e1
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03override specifier 'override' not allowed on a destructorMatúš Kukan
Change-Id: I8bcc31900a95f2b7600645decafdfe528343d6d7
2014-04-03sccomp: Share common code and have only one library.Matúš Kukan
And use constructor feature for UNO implementations. Change-Id: I42b6a6f417049cc8e2d44b74c7adc552680b1f2d
2014-04-01sccomp: Make the source files more similar and fix some problems.Matúš Kukan
Change-Id: I1e3c8aac52e9d2677937e08aac08db4ace5cb2b8
2014-04-01Install coinmp and lpsolve linear solvers in parallel.Matúš Kukan
Change-Id: If07d94a2f646c8377b76fdf645e85f9491e4f061
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza
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>
2014-03-03118160: Use CoinMP as replacement for lp_solve.Andre Fischer
Original author: Niklas Nebel (cherry picked from commit 6d492447a37ec268fb5924e7fc5631c29c67325d) Conflicts: sccomp/source/solver/makefile.mk sccomp/source/solver/solver.cxx Change-Id: I84f9acb13a65cdfc9d173434ef630cbeb635db05
2014-03-03Rename sccomp/source/solver/solver.cxx to solver-lpsolve.cxxMatúš Kukan
Change-Id: I5034cdcbf08d68b2ed0fc9d16ee2635ba30a731b
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from sccompAlexander Wilms
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>
2014-02-23Remove unneccessary commentsAlexander Wilms
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>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza
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>
2013-08-16Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unusedCaolán McNamara
Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
2013-06-04MPLv2 subset improvements.Michael Meeks
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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
2013-03-27Missing #include "sal/config.h"Stephan Bergmann
Change-Id: I5223b11089d038d5c3f6c086432a6b2a8fd119c8
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-01-30remove useless macrosLuboš Luňák
created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-06re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Ocke Janssen converted reportdesign. http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patch contributed by Oliver Rainer-Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-11-07convert lpsolve to gbuildPeter Foley
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680 Reviewed-on: https://gerrit.libreoffice.org/1002 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-04Enough with that...Norbert Thiebaud
peter's gbuildifications caused and ocean of red, that 1/ was not followed up by any attempt by the author to fix 2/ I wasted a good part of the weekend to de-entangle with only partial sucess reverting the whole mess for now... to be resubmited when a bit less borked... This reverts commit c4c160a4519f20d50e7189ef92aac99b83c4cc6a. This reverts commit faef2e51d0c7b74334a11400b205daf382805780. This reverts commit 057ce1fe2911f51be97199bf95e175db8aebfa42. This reverts commit a7d34af344900233ba08aee2a56a3daf85ab2421. This reverts commit befae0ceb80deb4623f3e41ff88b6dcb63eca0ad. This reverts commit 433b43bcd2dbd146a9d6342fab0704d653c50d29. This reverts commit 93e2c4a9d257ebbe794fbaba888229857e7c42d8.
2012-11-03convert lpsolve to gbuildPeter Foley
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: If3717bae537653de0bc7a0e6c62a4203a9b93f8d
2012-02-23Get rid of CREATEVERSIONRESMGR[_NAME]Stephan Bergmann
2012-01-05Fix for fdo43460 Part XXIX getLength() to isEmpty()Olivier Hallot
Part XXIX Modules sax, scaddins, sccomp, scripting
2011-07-28add prefixes for component_getFactoryMatúš Kukan