summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20Fix typosAndrea Gelmini18-20/+20
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
2016-07-20loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann5-14/+14
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d (cherry picked from commit fb8a3fac5d448451794804a7470be45fa14da453)
2016-07-18tdf#91324 GSoC adapt struct tm correctlyWastack1-4/+8
Change-Id: I645ebe888186e550b95dd072e063260bc69aa178 Reviewed-on: https://gerrit.libreoffice.org/27120 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu> (cherry picked from commit 88346f606a16865bcf7492f67a7207d0078787a1) Reviewed-on: https://gerrit.libreoffice.org/27235 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit f9393f84d539814574b594e173367335fe0c42e8)
2016-07-13partially revert 2d2ae27b7e7aa14735165Andras Timar1-0/+9
Change-Id: If8b79e4c07d14d6758bb2c9f55ae9935d24e4f9f
2016-07-13include/jvmfwk/*.h -> .hxx (only ever included from C++ code)Stephan Bergmann2-2/+2
Change-Id: Ia912e937d5a48afb6f8f5345b20bb7bd517fc4f1 (cherry picked from commit 220d9c24d0e81668862010ed3e68e4f46fe9924b)
2016-07-12loplugin:unusedfieldsNoel Grandin18-92/+6
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864 (cherry picked from commit ec3f72415850bd865eb030cf2b7edb55b99d4756)
2016-07-12Remove excess newlinesChris Sherlock152-326/+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 Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89) Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
2016-07-12update unusedmethods plugin to deal with constructorsNoel Grandin10-32/+1
and fix the operator< implementations in some of the other plugins too. Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae) Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
2016-04-26-Werror=misleading-indentation (GCC 6)Stephan Bergmann1-2/+4
Change-Id: Ide514da5b4413974e50beeb4f41881294475303c (cherry picked from commit 39d6c6256f80a5b5c548f5e68849a1ef7140e32a) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/24409 Tested-by: Jenkins <ci@libreoffice.org>
2016-04-14tdf#97853 connectivity: fix inverted conditionMichael Stahl2-3/+3
Also in 2 places IS_TYPE was converted to dynamic_cast instead of a typeid check; use typeid there too, just for consistency. (regression from ac9671f94800b647f82b12e718968311a025e87e) Change-Id: I0df47a845eff660c791304c22c97704589ab999f (cherry picked from commit 49d320c6202a569f996c27fd824239f5f1f8a036) Reviewed-on: https://gerrit.libreoffice.org/24062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-03-28tdf#90561: Add AS keyword in Query-designer for hsqldbJulien Nabet1-0/+5
See https://bugs.documentfoundation.org/show_bug.cgi?id=90561#c8 for more details Change-Id: Id812b68a9482e152ca60ea20bf3026e219a0ab8c Reviewed-on: https://gerrit.libreoffice.org/23515 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 6807e21f5f8d7da8b9a7593a21eb09404712dd20) Reviewed-on: https://gerrit.libreoffice.org/23518 Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-07pgsql-sdbc: "text" dataype is *LONG*VARCHARLionel Elie Mamane1-1/+1
Change-Id: Idd01299ef4592b43e573c3b0996d4822664c6bcf Reviewed-on: https://gerrit.libreoffice.org/22897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-07tdf#92538 pgsql-sdbc make a reasonable sorting of typesLionel Elie Mamane1-3/+76
Change-Id: I74283234834b5057857620ed2466068e88628585 Reviewed-on: https://gerrit.libreoffice.org/22896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-07When not changing the value of a string parameter, use const OUString&,Lionel Elie Mamane1-1/+1
Change-Id: Id82a62bb437e09137a643c191ad56745daea0e38 Reviewed-on: https://gerrit.libreoffice.org/22895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-03-04tdf#92538 use proper schema name for type namesLionel Elie Mamane1-5/+17
Change-Id: I7e428e4530765925bd35c7f4fcde7f95ceb12243 Reviewed-on: https://gerrit.libreoffice.org/22876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-02-22WaE vs2015: casting from int32 to pointer to to odbc idiosyncraciesNorbert Thiebaud1-2/+6
Change-Id: I94f2435aee76b03d4b14b009fdeca06a14f22909 Reviewed-on: https://gerrit.libreoffice.org/22599 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit 1e82ae8811e7c344805bba8ee0411c9b3682a80f) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-12-18tdf#96572 firebird correctly transmit request for NULLLionel Elie Mamane2-16/+10
even if column is not nullable Change-Id: I72ceda68e983125aef26c8f0aacc06320bd16b77
2015-12-13tdf#96461 ODBC SQLBindParameter: correct DecimalDigits for time(date) valuesLionel Elie Mamane2-3/+10
Change-Id: I33c63d2c002d9abcbadb16bcd460996ef3212f4a Reviewed-on: https://gerrit.libreoffice.org/20686 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-12-11tdf#96396 evoab2 does not need gtkDavid Tardon1-1/+0
Change-Id: I727d90e4ffc4d567ad02ca5b55b1e8d26d15e928 (cherry picked from commit b672126e7c4ffd32d42594cf527b09a9f0434cb9)
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin1-9/+2
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Simplify down to a single appendSQLWCHARs functionStephan Bergmann4-71/+14
Change-Id: I882746f9c4a1c332c6657b93f104ecbf1c7be6f1
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann3-5/+7
Change-Id: I9865090364220527830b7f32d5b506e50a2c0874
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin1-1/+0
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin1-6/+2
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian11-354/+1026
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin8-18/+9
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin17-34/+17
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-12Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann1-1/+1
...in anticipation of building with clang-cl.exe on Windows Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398 Reviewed-on: https://gerrit.libreoffice.org/19928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-11coverity#1338603 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I8aa233446f1bc8cc94332830d7b1813f1674202b
2015-11-115th step to remove tools/rtti.hxxOliver Specht2-48/+1
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11new loplugin: memoryvarNoel Grandin1-4/+3
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann20-165/+165
Change-Id: I1d4f6975a7f3deac65510b3bf7ab80e9d01a3a6c
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann178-1357/+1357
Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
2015-11-09new loplugin: oncevarNoel Grandin6-30/+13
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06coverity#1338264 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ie9e6ad45f6d25d8a6e643d647898a5b595202590
2015-11-06coverity#1338248 Uncaught exceptionCaolán McNamara4-4/+7
Change-Id: I708e77b2745de8eb5b85cd05d0694cda18a84866
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann8-14/+14
Change-Id: Ia3b2020e3f58e23e87a95d1fee0c76c8aba705ea
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin1-4/+4
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-05java: make inner classes static where possibleNoel Grandin1-4/+4
Change-Id: Icc6444ad15d9f4b50858d8c1b1d3adeaeac40926
2015-11-04loplugin:stringconstantStephan Bergmann2-6/+3
Change-Id: I5c0c2e3418da9f5cb98c15d5f067924d6a66f747
2015-11-04loplugin:stringconstantStephan Bergmann2-8/+2
Change-Id: I7602293b21030b255022b49cdb39cf76d9b22112
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni6-24/+21
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-11-02loplugin:stringconstantNoel Grandin17-29/+26
Change-Id: I736e0d63ed891aee1582844aff25b9bdacab8db9
2015-10-30fix OSX buildNoel Grandin1-1/+1
after my commit cb4fa1d1e2e61b686442a9d26220c0f1a6e1d4e7 "use uno::Reference::set method instead of assignment" Change-Id: Iecbcd2ffd521913a63374a56c5179065cca42f09
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin15-28/+25
Change-Id: I080668f86f0ab8b3bba857ee21411f907ae285c4
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin4-4/+4
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30cppcheck: unreadVariableCaolán McNamara1-1/+1
Change-Id: I109e5f36a524e2996d00bf81e873776d0d738011
2015-10-30loplugin:unusedmethodsNoel Grandin5-10/+0
Change-Id: Id3b5cd75d4357336ed592ef11a3f34d209f8e95f Reviewed-on: https://gerrit.libreoffice.org/19636 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin2-1/+3
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27loplugin:unusedmethodsNoel Grandin1-1/+0
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>