summaryrefslogtreecommitdiffstats
path: root/mysqlc
Commit message (Collapse)AuthorAgeFilesLines
* tdf#103685: "Commands out of sync" when connecting to MySQL using directJulien Nabet2017-09-251-4/+2
| | | | | | | | | | | | | | Thanks to Lionel for his great help Reviewed-on: https://gerrit.libreoffice.org/42688 Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 444730a67dbd2ad6cebe666b2cd23c67d5c668f2) Change-Id: Ifcc1d72cca29c031f31da203cd1e3302ea0ea3e3 Reviewed-on: https://gerrit.libreoffice.org/42701 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* cleanup osl/diagnose.h includesJochen Nitschke2017-05-093-3/+0
| | | | | | | | | | | | | | with command > git grep -l osl/diagnose.h *.cxx | xargs grep -L -w 'OSL_\w*' | xargs sed -i '/#include *\(<\|\"\)osl\/diagnose.h\(>\|\"\).*/d' headers need more work Change-Id: I906519ebbd47a04703b4fa5943b2f7abea7a97ab Reviewed-on: https://gerrit.libreoffice.org/37350 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* tools: svstream.hxx needs only errcode.hxx & not errinf.hxxChris Sherlock2017-04-252-0/+2
| | | | | | | Change-Id: Ia28e35ae5af4f601e9a586a3deffbcd61702b0ca Reviewed-on: https://gerrit.libreoffice.org/36896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Fix typosAndrea Gelmini2017-03-251-1/+1
| | | | | | | Change-Id: Id5811d092917c872715559f4508d01e4173d090c Reviewed-on: https://gerrit.libreoffice.org/35636 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Remove redundant 'inline' keyword, Linux reduxStephan Bergmann2017-03-074-5/+5
| | | | Change-Id: I10c7dbd6a7acce309b056a1ae57c39f00f22c46d
* Fix typosAndrea Gelmini2017-03-022-2/+2
| | | | | | | Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b Reviewed-on: https://gerrit.libreoffice.org/34803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* With GCC -std=gnu++17, dynamic exception specifications cause an errorStephan Bergmann2017-02-231-7/+0
| | | | | | | | | ...instead of a warning (as with Clang), so this follow-up to e16644fa1c042b56a1301f0476d7ddb71c8765ea "external/mysqlcppconn: Silence -Wdynamic-exception-spec errors" patches the (few) dynamic exception specifications out of external/mysqlcppconn completely Change-Id: I83a42f1c09e60c15fad1564cf7c42eb3370485da
* external/mysqlcppconn: Silence -Wdynamic-exception-spec errorsStephan Bergmann2017-02-161-0/+7
| | | | | | ...with Clang in C++17 mode Change-Id: If51c0788439688f6fbd77c1a05cb3295ac6e8cb4
* boost::scoped_ptr -> std::unique_ptr in mysqlcNoel Grandin2017-02-031-14/+14
| | | | | | | Change-Id: I4c8d25ed451ab03d2b5d0e9977ab74fd2ea1bb04 Reviewed-on: https://gerrit.libreoffice.org/33870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* new loplugin:unusedenumconstantsNoel Grandin2017-02-031-2/+1
| | | | | | | | | | These are the simple removals, where it is obviously safe, the more complex ones will come in separate commits Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308 Reviewed-on: https://gerrit.libreoffice.org/33828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Work around GCC 7 -Werror=implicit-fallthrough=Stephan Bergmann2017-01-311-0/+8
| | | | | | | | This is in !LIBO_INTERNAL_ONLY code, so cannot use SAL_FALLTHROUGH. And even on current <https://github.com/boostorg/config> master, BOOST_FALLTHROUGH does not yet support [[fallthrough]] for GCC 7. Change-Id: I5306c3949b13c517fe8ef643cf98c2021147617e
* Silence GCC 7 warnings in cppconn/exception.hStephan Bergmann2017-01-311-0/+7
| | | | Change-Id: Ia924473d3dba11babee23f4137c645b9f8d86a8b
* Remove dynamic exception specifications from !LIBO_INTERNAL_ONLYStephan Bergmann2017-01-2717-813/+381
| | | | | | ...only odk/examples/ remains to be clean up Change-Id: I875a1e8d6750b6b007bd75126b8010273e1f32d5
* OSL_TRACE->SAL in chart2..ooxNoel Grandin2016-12-131-16/+0
| | | | | | | Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* OSL_TRACE->SAL in framework..salNoel Grandin2016-12-137-270/+1
| | | | | | | Change-Id: I9a897af88aa9f6f7ca98ce521c69b5a4ee8462e9 Reviewed-on: https://gerrit.libreoffice.org/31903 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:datamembershadowNoel Grandin2016-11-172-2/+1
| | | | Change-Id: I0206905ce95467a560f8ed24db4403df07d3680e
* loplugin:singlevalfieldsNoel Grandin2016-11-023-10/+3
| | | | | | | Change-Id: I65f96d9cd24572c8d0946acf4d2d45eb3db83a76 Reviewed-on: https://gerrit.libreoffice.org/30476 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove bogus comments about ~IPropertyArrayHelper not being virtualStephan Bergmann2016-10-271-3/+0
| | | | | | | ...which isn't true at least ever since b525a3115f54576017a576ff842dede5e2e3545d "initial import", but got copy/pasted all over the place Change-Id: I47d3d8a594aef3ac3736d7176ae964a118821014
* Remove obsolete workaround for SUNPRO 5 compilerStephan Bergmann2016-09-201-11/+13
| | | | | | ...copy/pasted into three more places Change-Id: I6661244d0248af509cd867fc3e8c451551068a78
* loplugin:unusedenumvaluesNoel Grandin2016-09-181-49/+1
| | | | | | | Change-Id: Icf17f936ce6d07d0e152252833c8645cf9b1163b Reviewed-on: https://gerrit.libreoffice.org/28942 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unnecessaryoverride in mysqlcStephan Bergmann2016-07-152-24/+3
| | | | Change-Id: I7c8ecc8f675abf4495c991bdb680e31b59421e26
* Fix typo relase_ChildImpl -> release_ChildImplStephan Bergmann2016-07-123-3/+3
| | | | Change-Id: I68faf8cfb8eb390e7970383b8a6596a9dd3f95f7
* Revert "tdf#88206 Change use of cppu::WeakImplHelper*"Caolán McNamara2016-06-091-2/+2
| | | | | | | | | this doesn't build, I think mysqlc is considered !LIBO_INTERNAL_ONLY seeing as its an extension This reverts commit 2d2a33934ecb952433a635ce5dab76cb2837b8a0. Change-Id: I600b986632b90e482475628e09256ca5c2b0a6cf
* tdf#88206 Change use of cppu::WeakImplHelper*krishna keshav2016-06-091-2/+2
| | | | | | | | | removed <cppuhelper/implbase1.hxx> Change-Id: I2888e42eec480f0940c3e4f9bcc000c150d1161b Reviewed-on: https://gerrit.libreoffice.org/26076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Missing includeStephan Bergmann2016-05-301-1/+1
| | | | Change-Id: Id61e2de27ec307fa7773d3f0d5a0810005f1c364
* Use BOOST_FALLTHROUGH in external codeStephan Bergmann2016-05-101-2/+2
| | | | | | ...in preparation of enabling Clang's -Wimplicit-fallthrough Change-Id: If64f9b18591b3cd2528adc6c2d6011d509d4afcd
* Fix typosAndrea Gelmini2016-05-011-1/+1
| | | | | | | Change-Id: Ifb7c33d6052efe5ea8a1e0e10b3178073cd29ca0 Reviewed-on: https://gerrit.libreoffice.org/24536 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* update loplugin stylepolice to check local pointers varsNoel Grandin2016-04-261-7/+7
| | | | | | | | | | | | are actually pointer vars. Also convert from regex to normal code, so we can enable this plugin all the time. Change-Id: Ie36a25ecba61c18f99c77c77646d6459a443cbd1 Reviewed-on: https://gerrit.libreoffice.org/24391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Avoid reserved identifiersStephan Bergmann2016-04-223-22/+22
| | | | Change-Id: Id2ef8fb53207be64d0f7342734f0d9fab832b674
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-206-35/+35
| | | | Change-Id: Ie511eeb586e8c592bc255a09eff1bcf673a29ea9
* clean-up: unused using declarations and includesJochen Nitschke2016-04-182-2/+0
| | | | | | | | | | | | | | Searched source for using declarations. Checked if those symbols reappear in the source file, even in comments or dead code but not in #include statements. If they don't reappear, remove the declaration. Remove includes whose symbol got removed. Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0 Reviewed-on: https://gerrit.libreoffice.org/24148 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:passstuffbyref in variousNoel Grandin2016-04-141-1/+1
| | | | Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
* Revert "tdf#88206: use variadic variants for cppu helper"Stephan Bergmann2016-04-127-13/+13
| | | | | This reverts commit cf1ecad26d22e3dc5f556f976bdc49a31bfa5630. Library_mysqlc is external_code, so cannot use these LIBO_INTERNAL_ONLY features.
* tdf#88206: use variadic variants for cppu helperStefan Weiberg2016-04-117-13/+13
| | | | | | | Change-Id: I58a00f721cbb37f97fdbc599d57c26b1e89f4c73 Reviewed-on: https://gerrit.libreoffice.org/23998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* cleanup: remove unused Reference.h(xx) includesJochen Nitschke2016-04-021-1/+0
| | | | | | | | | and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* loplugin:unuseddefaultparams in mysqlcNoel Grandin2016-03-032-8/+6
| | | | Change-Id: I83e27ed242b6ec1fbd19e473a4d8c0f4588e6f86
* Remove excess newlinesChris Sherlock2016-02-091-1/+0
| | | | | | | | | | | | | | | | | | | A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* loplugin: unused return valuesNoel Grandin2016-01-182-9/+0
| | | | | | | Change-Id: I9c61a46c57894bc63a57740206c0bcb4a16553af Reviewed-on: https://gerrit.libreoffice.org/21571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* cppcheck: noExplicitConstructorCaolán McNamara2016-01-081-1/+1
| | | | | | | | Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2 Reviewed-on: https://gerrit.libreoffice.org/21245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:unnecessaryvirtualNoel Grandin2015-12-241-1/+1
| | | | | | | | | | | and unwind some apparently now unused VCL OpenGL and GlyphCachePeer stuff. Change-Id: Ic85302d4e1ad4056dabc49c97a608891052e3167 Reviewed-on: https://gerrit.libreoffice.org/20920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:unusedfields in lingu,lotuswordpro,mysqlcNoel Grandin2015-12-221-1/+0
| | | | Change-Id: I5866c8d95e04714e81a45e73bf00a430859a4327
* loplugin:unusedmethodsNoel Grandin2015-12-214-68/+0
| | | | Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
* loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann2015-12-101-1/+1
| | | | Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
* loplugin:unusedfieldsNoel Grandin2015-11-301-2/+0
| | | | Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
* loplugin:unusedfields variousNoel Grandin2015-11-255-143/+35
| | | | Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
* fix mysqlc buildNoel Grandin2015-11-164-4/+8
| | | | | | | | | | after my commit 96c26b0d9d10fa9bac3695222980d7145f0342d7 "use initialiser for Sequence<OUString>" the mysqlc module is compiled as external code, so it cannot see the initialiser syntax constructor for Sequence Change-Id: I072e6271ec33637e28dd8225724296e90967329d
* use initialiser for Sequence<OUString>Noel Grandin2015-11-154-8/+4
| | | | | | | | | | | | 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-109-25/+25
| | | | Change-Id: Ie77375d781164232ea0cd94c3d2a5d027c49669e
* mysqlc: -Werror=unused-functionMichael Stahl2015-11-051-0/+2
| | | | | | | Change-Id: I8b1f4b7c78a10ce604a63aff47d2df2d1d10dc26 Reviewed-on: https://gerrit.libreoffice.org/19800 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* UNO: no need to use OUString constructor when calling createInstanceNoel Grandin2015-10-302-2/+2
| | | | | | | Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>