summaryrefslogtreecommitdiff
path: root/cppu
AgeCommit message (Expand)Author
2020-11-13tdf#123936 Formatting files in module cppu with clang-formatPhilipp Hofer
2020-11-11loplugin:stringviewNoel
2020-11-06Reinstate o3tl/cppunittraitshelper.hxx uses for C++20Stephan Bergmann
2020-11-06tdf#42949 Fix new IWYU warnings in directories c*Gabor Kelemen
2020-09-25cid#1448292 coverity has difficulty with css::uno::SequenceCaolán McNamara
2020-09-13tdf#124176 Use #pragma once in cppu, cppuhelperGeorge Bateman
2020-08-17Remove dead commentStephan Bergmann
2020-08-15Fix typoAndrea Gelmini
2020-08-05Avoid warnings about unused Char4Stephan Bergmann
2020-08-03loplugin:flatten in configmgr..i18nutilNoel Grandin
2020-07-10replace usage of blacklist with excludelist for IWYUThorsten Behrens
2020-07-01Upcoming improved loplugin:staticanonymous -> redundantstatic: cppuStephan Bergmann
2020-06-26Handle uno_threadpool_dispose in parallel with uno_threadpool_putJobStephan Bergmann
2020-06-16Use the saner std::condition_variable semantics for JobQueue::m_cndWaitStephan Bergmann
2020-06-15Model the dispose tokens as `void const *` instead of `sal_Int64`Stephan Bergmann
2020-06-15Remove a potentially already enqueued response when a bridge is disposedStephan Bergmann
2020-05-24inline some use-once typedefsNoel Grandin
2020-05-08compact namespace in canvas..cuiNoel Grandin
2020-04-28tdf#115399: Don't kill pre-existing typelib_TypeDescription membersStephan Bergmann
2020-04-28Fix printing rtl_uString*Stephan Bergmann
2020-04-23cid#1462311 silence Use after freeCaolán McNamara
2020-04-23Related tdf#115399: Reorder code slightlyStephan Bergmann
2020-04-18loplugin:flatten in cppuNoel Grandin
2020-04-14loplugin:buriedassign in c*Noel Grandin
2020-03-06Make TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK constexprStephan Bergmann
2020-03-04Remove redundant local reallyWeak functionStephan Bergmann
2020-02-24Fix typoAndrea Gelmini
2020-01-15clang-tidy modernize-concat-nested-namespace in cppcanvas..cppuhelperNoel Grandin
2020-01-07Replace a CPPUNIT_ASSERT_EQUAL with a static_assertStephan Bergmann
2019-12-18sal_Char->char in cppcanvas..cuiNoel Grandin
2019-12-03Adapt CPPUNIT_ASSERT to C++20 deleted ostream << for sal_Unicode (aka char16_t)Stephan Bergmann
2019-11-23cppcheck: performing init in init list (comphelper/connectivity/cppu/cui)Julien Nabet
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann
2019-11-08Avoid repeated calls cppu::detail::loadModule -> osl_getModuleURLFromAddressStephan Bergmann
2019-10-28loplugin:stringadd improve detectionNoel Grandin
2019-10-17Remaining loplugin:bufferaddStephan Bergmann
2019-10-15new loplugin:bufferaddNoel Grandin
2019-10-14loplugin:stringadd look for unnecessary temporariesNoel Grandin
2019-10-01loplugin:stringadd in basctl..cuiNoel Grandin
2019-09-03Silence -fsanitize=object-size in --enable-optimized buildsStephan Bergmann
2019-08-30new loplugin:noexceptmoveNoel Grandin
2019-07-26cid#1448407 silence Resource leakCaolán McNamara
2019-05-22New loplugin:dataStephan Bergmann
2019-04-27tdf#120703 PVS: V581 ifs with identical conditionsMike Kaganski
2019-04-22Fix typoAndrea Gelmini
2019-04-15improve loplugin simplifyconstructNoel Grandin
2019-04-01tdf#120703 PVS: Silence V522 warningsMike Kaganski
2019-03-03Simplify containers iterations in cppcanvas, cppu, cppuhelperArkadiy Illarionov
2019-03-02Fix typoAndrea Gelmini
2019-02-20More loplugin:simplifyboolStephan Bergmann
2019-10-09loplugin:redundantpointerops check other pointer typesNoel Grandin as well as unique_ptr Change-Id: I54842bca161ee460fb96c46ca31b6f9c0a7dbbdf Reviewed-on: https://gerrit.libreoffice.org/80455 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-10-08loplugin:stringadd (macOS)Stephan Bergmann Change-Id: I4dde1fa6f1f3e6d75abe5002655d3cd5fa685c0b Reviewed-on: https://gerrit.libreoffice.org/80487 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-10-07enable -Wrange-loop-analysis on clangNoel Grandin Change-Id: I2095308943c94ad16c110d5fac47715398eb5d39 Reviewed-on: https://gerrit.libreoffice.org/80187 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-10-01loplugin:redundantcast (clang-cl)Stephan Bergmann Change-Id: I3f66a7850b4604dee576aeb61a39c4e45563d0c1 Reviewed-on: https://gerrit.libreoffice.org/79930 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-10-01loplugin:data (clang-cl)Stephan Bergmann Change-Id: Ib8b2bc1c5f7b27a646036ce23cae2b6a06edd038 Reviewed-on: https://gerrit.libreoffice.org/79922 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-10-01loplugin:stringconstant (clang-cl)Stephan Bergmann Change-Id: Id1a82cea4444255fdb693e126b7571a406094624 Reviewed-on: https://gerrit.libreoffice.org/79916 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-10-01loplugin:simplifyconstruct (clang-cl)Stephan Bergmann Change-Id: I08da288a88c2bce1d4250ec77f17bd483e6bc09c Reviewed-on: https://gerrit.libreoffice.org/79911 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-10-01loplugin:stringadd in basctl..cuiNoel Grandin Change-Id: I2fdeb7eb3ead3512ad6d3fe793305038ab3aa7ae Reviewed-on: https://gerrit.libreoffice.org/79886 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-09-24support O(U)String::number() for fast string concatenationLuboš Luňák When I did the fast string concatenation, I didn't add any support for number(), which simply returned a O(U)String, and so it did the extra allocation/deallocation, although that could be avoided. In order to support this, number() now returns a special temporary return type, similarly to O(U)StringConcat, which allows delaying the concatenation the same way. Also similarly, the change of the return type in some cases requires explicit cast to the actual string type. Usage of OString::getStr() is so extensive in the codebase that I actually added it to the helper class, after that it's only relatively few cases. Change-Id: Iba6e158010e1e458089698c426803052b6f46031 Reviewed-on: https://gerrit.libreoffice.org/78873 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com> 2019-09-23tdf#39593 use getUnoTunnelImplementationArkadiy Illarionov Change-Id: I78eb67913a568c610e38e5002f914773c4906dfd Reviewed-on: https://gerrit.libreoffice.org/79350 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com> 2019-09-23loplugin:fragiledestructor (macOS)Stephan Bergmann Change-Id: I908a7dbdb44c0b49315f0fd8559c21302dbc83a8 Reviewed-on: https://gerrit.libreoffice.org/79399 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-09-23do not require $(SRCDIR) in every gb_Library_set_precompiled_headerLuboš Luňák Change-Id: I7b3a22584bb2e4d501f509ffcd80929feed23a4c Reviewed-on: https://gerrit.libreoffice.org/79360 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com> 2019-09-23tdf#127657: FIREBIRD error in query input param when referred field is integerJulien Nabet Change-Id: I626c8a8869570986d0293cd9070a1ee40ec585dc Reviewed-on: https://gerrit.libreoffice.org/79314 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2019-09-19improve and enable loplugin:fragiledestructorNoel Grandin Where the problem was benign and the class was not extended, I marked the class as final. Where the problem was benign and the class was extended, I marked the relevant callee methods as final. Other cases were excluded in the plugin. Change-Id: Idb762fb2206af4e8b534aa35ff77f8368c7909bc Reviewed-on: https://gerrit.libreoffice.org/79089 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-09-17tdf#126852 Bind TEXT mysql type to ClobTamas Bunth Change-Id: I5a71666f1fafa9507032deffafebf885813a0369 Reviewed-on: https://gerrit.libreoffice.org/78815 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com> 2019-09-12cid#1453559 silence Unchecked return valueCaolán McNamara cid#1453560 silence Unchecked return value cid#1453562 silence Unchecked return value Change-Id: I6b7dc42d6f2ebd8abb47fb71805c66c7f45d7748 Reviewed-on: https://gerrit.libreoffice.org/78838 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-09-12base: add some doc from Tomi's talkMiklos Vajna See <https://conference.libreoffice.org/2019/program/schedule/sept-12th-thursday/>. Change-Id: I0edb74d69f6af06c82022350e2fe0aedab56c486 Reviewed-on: https://gerrit.libreoffice.org/78832 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins 2019-09-11tdf#120945: Relationship of tables isn't recognized by formwizardJulien Nabet The patch implements getExportedKeys which was lacking. Console logs: warn:connectivity.firebird:13144:18512:connectivity/source/drivers/firebird/DatabaseMetaData.cxx:1468: Not yet implemented warn:legacy.osl:13144:18512:connectivity/source/drivers/firebird/DatabaseMetaData.cxx:1469: Not implemented yet! The only difference with getImportedKeys is the fact that : - in getImportedKeys, table name of Where condition is the foreign key - in getExportedKeys, table name of Where condition should be the primary key Instead of duplicating the whole code of getImportedKeys, I created a local function which contains the main part. Change-Id: Ia4497524fecf098257eec27e44e016a7cbe23480 Reviewed-on: https://gerrit.libreoffice.org/78822 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2019-09-07tdf#39593 drop comphelper::getImplementationArkadiy Illarionov Replace with comphelper::getUnoTunnelImplementation. Change-Id: I96277aa9c17532ea6e2781dbc3305b2dbaa4e5c2 Reviewed-on: https://gerrit.libreoffice.org/78733 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com> 2019-09-07tdf#39593 use isUnoTunnelId in connectivityArkadiy Illarionov Change-Id: I458049e23e9fc1855cb4ba9519b9b940f170b024 Reviewed-on: https://gerrit.libreoffice.org/78732 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com> 2019-09-06mysqlc: Support connection to utf8mb4 serverTamas Bunth This charset is backward compatible with 'normal' utf-8. Change-Id: I4407894bf9029b9c56eb0d2530796e85bd226591 Reviewed-on: https://gerrit.libreoffice.org/78650 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com> 2019-09-06tdf#39593 use isUnoTunnelIdArkadiy Illarionov Adapt getUnoTunnelId methods where required: rename or make public. Change-Id: I0fd2120bf9f0ff1aa690329a65ff64a154c89315 Reviewed-on: https://gerrit.libreoffice.org/78680 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-09-06TyposAndrea Gelmini Mainly fixing '....' and '..' Change-Id: Ic928701b319868671b826d757dd94c296fd5e942 Reviewed-on: https://gerrit.libreoffice.org/78668 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> 2019-09-03tdf#127093 mysqlc: set NO_AUTO_VALUE_ON_ZEROTamas Bunth Without setting this sql_mode, NULL or 0 inserted to an auto-incremented column of a prepared statement would cause that to be auto generated. Setting NO_AUTO_VALUE_ON_ZERO allows us to copy/paste auto-incremented columns which may contain zero values as well. Change-Id: I9602746371c75c82c99ff63240025e8cfb03776a Reviewed-on: https://gerrit.libreoffice.org/78560 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com> 2019-09-01Fix '..'Andrea Gelmini To complete this: https://gerrit.libreoffice.org/#/c/78312/ This is a massive replace for ".." instead of "..." between words. It passed "make check" on Linux. Change-Id: I144d8061fca9f545c762941551e59dffdd3650e8 Reviewed-on: https://gerrit.libreoffice.org/78357 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins 2019-09-01Fix '..'Andrea Gelmini To complete this: https://gerrit.libreoffice.org/#/c/78312/ This is a massive replace for lines ending with ".." instead of "..." It passed "make check" on Linux. Change-Id: I07fa7b2e30ba9ea17a1f9a5e21c57216ba958efe Reviewed-on: https://gerrit.libreoffice.org/78356 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins