summaryrefslogtreecommitdiff
path: root/mysqlc
AgeCommit message (Collapse)Author
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I5ce90c5eec46e490f7d38a4f603285d2753ce0d1
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I161e6b396e6577dfc4b3c38bf89ed5ecd1dd5f42
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-25loplugin:constantfunctionStephan Bergmann
Change-Id: I368de78b99369982cd17a8e7ac8c36b4e7e60b41
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-20Some more loplugin:cstylecast: mysqlcStephan Bergmann
Change-Id: I7849658606931b231c2bde0c8143bc1f325c80d4
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-12-19No need for RTL_USING in addition to LIBO_INTERNAL_ONLYStephan Bergmann
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
2014-12-18Introduce gb_*_set_external_codeStephan Bergmann
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the config_host/config_*.h files will not be included, so the HAVE_* macros will be undefined.) This obsoletes the need for RTL_DISABLE_FAST_STRING. Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-12-04mysqlc: loplugin:cstylecastStephan Bergmann
Change-Id: I293f6fc392f6d081d08d2f53886f534409e38bd5
2014-11-18mysqlc: fix build after cppuhelper header cleanupMichael Stahl
Change-Id: I8d331914736e17d5aad2ee761fc6d758c2dea1ad
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-23fdo#83991 - cleanup whitespace after folding comment removal.Vinicius Vendramini
Change-Id: I31149484d626013ddcd52356be7d416b435cebcc
2014-10-22fdo#83991 - remove redundant function folding comments.Vinicius Vendramini
Change-Id: I630aeedc31099e11d4bd0e91a05943e926efd61e
2014-10-01mysqlc: These shall be plain "Time" not "tools::Time" apparentlyStephan Bergmann
Change-Id: Id96a75bb8a07ea3b9701b9fe4692dfc81dbd8295
2014-10-01fdo#82577: Handle TimeNoel Grandin
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-30mysqlc: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I0eb5f9fab5955d1f5790d3f5d269e069aff1c201
2014-09-24Remove o3tl/heap_ptr.hxx, use std::unique_ptr insteadStephan Bergmann
Change-Id: Iac70c9be13892a36bfb5975f62e5345b88d4f144
2014-09-17Translate German comment.Michael Meeks
Change-Id: I3d452ac218005b40568ec116ede9962cc1e60a18
2014-09-09fdo#83656 mariadb C client library incompatible with newer MySQL Connector/C++Lionel Elie Mamane
Change-Id: I0d9cc98070c0b9379b1fd828ac65c2d32f83a93f
2014-08-11update mysqlc READMELionel Elie Mamane
Change-Id: I832c31d760d4cc0cb7fcb0c5dfef7b06010d7a3a
2014-07-02mysqlc: sal_Bool -> boolStephan Bergmann
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
2014-05-30deb#749592 mysql-connector doesn't work with remote connectionsNoel Grandin
and also fdo#77584 mysql-connector doesn't work over SSH tunnel Not sure exactly how this got broken, I suspect that the UI code has started unconditionally passing down the properties, just filling them with empty spaces for the unused ones. Anyhow, this appears to fix the problem. Change-Id: I7ac2a0d6bae610f47d2a28daa9beb3ef0e2dbb52 Reviewed-on: https://gerrit.libreoffice.org/9565 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-29use OUString::startsWith()Noel Grandin
Change-Id: I0fc77b50792e48be175ab7cc151509e097676849
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-11Kill DECL_PROP1IMPL and relatedJulien Nabet
See http://nabble.documentfoundation.org/About-removing-macros-td4106620.html Change-Id: Ib934eb3f27b656b5b2f8488c2103e8eee73f9623
2014-05-06simplify ternary conditions "xxx ? true : yyy"Noel Grandin
Look for code like: xxx ? true : yyy; Which can be simplified to: xxx || yyy Change-Id: Ib7ca86580bfd0cf04674328a3c0cf3747de4758d
2014-04-19fixincludeguards.sh: some smaller dirsThomas Arnhold
Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
2014-04-07Do not use sal/log.hxx in extensionsStephan Bergmann
"For now, this functionality should only be used internally within LibreOffice. It may change again in a future version." (sal/log.hxx) And the condition that was checked already causes a RuntimeException, so was somewhat redundant anyway. Thanks to mstahl for spotting this. Change-Id: I51cc4e75b3d3ffc97943613c61cb93c1fb48e59b
2014-04-04fdo#43157 : clean up more OSL_POSTCONDMichaël Lefèvre
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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-11normalize values of BUNDLE_MARIADBMichael Stahl
Change-Id: I993640f5d4042a75f64fbdd9a6f1e4157a72f909
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-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from mysqlcAlexander Wilms
Change-Id: I5ee918bb193ea887e728e271dd4c0fb49a4dd6e9 Reviewed-on: https://gerrit.libreoffice.org/8282 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>
2014-02-12normalize values of SYSTEM_PYTHON, SYSTEM_MYSQL_CPPCONNMichael Stahl
Change-Id: I8932febdd39c35f23fb3a89703b69e25302f5678
2014-02-03Do not disable -Werror for mysqlcStephan Bergmann
Change-Id: Ie65e31e138262475f41cd56d8da8c39cdd8836b9
2014-02-03auto_ptr -> heap_ptrStephan Bergmann
Change-Id: I1b11593fc936c0a4b45c319fd73ef3b629950752
2014-02-03auto_ptr -> scoped_ptrStephan Bergmann
Change-Id: I878aae330a3b1658c8bca83bd8a1126d2a8d26b6
2014-02-03USE_CPP_CONN is unusedStephan Bergmann
...ever since 4946c62f2943dfb3466cc4214a9c8ccd922669b5 "mysqlconnector: initial import from CWS mysqlnative" Change-Id: I787d2ac5e48be307f47e41ecac907c36b07a92ea
2014-02-03Get rid of macrosStephan Bergmann
Change-Id: Ic43441201309c3b466ed3dc7a5e85d0d006c0e44
2014-02-03Fix typosStephan Bergmann
Change-Id: I0314d439412e9fcc0fbc6a7702e5ec3cddafc0c5
2014-02-02fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.Alexandre Vicenzi
Change-Id: I60128dbb5bf83f25eea847fe655d7126c9077414 Reviewed-on: https://gerrit.libreoffice.org/7756 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Keep using component_getImplementationEnvironment in extensionsStephan Bergmann
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME convention. Keeping that convention an implementation detail makes it easier to do improvements in the future. (Theoretically, the bundled extension in mysqlc could be considered internal code and not adapted, but just be safe.) Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37