summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)Author
2014-10-12coverity#706331 Uncaught exceptionCaolán McNamara
Change-Id: I48e11a07924418721d45fcac55bd5aeb68f115a3
2014-10-11coverity#735605 Division or modulo by zeroCaolán McNamara
Change-Id: Ic3680ae833ed325ff4afe96fdca02f784ccd7d71
2014-10-11connectivity: Iterate over each Entry in a Map & Enhanced for-loopsRobert Antoni Buj i Gelonch
Change-Id: Id4a340584fc727058f6e37c1f0d3c5887e931417 Reviewed-on: https://gerrit.libreoffice.org/11917 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11connectivity: firebird: recursively delete temp directoriesMichael Stahl
TempFile itself will only remove empty directories. Change-Id: Ibaf986856bde172de40686ae363821b19add8106
2014-10-10coverity#706302 Uncaught exceptionCaolán McNamara
Change-Id: I082b7682124053948733efc2dbe5df6196acaa5f
2014-10-10add copy constructor for ONDXPagePtr classNoel Grandin
which I forgot in commit a0a919d2b541c415ad9b81d2ee91895bf106e9bb "remove SvRefBase::QueryDelete" Change-Id: Ib52b9cb58451abd62f75d7376b069bf6aef550b2
2014-10-09fdo#84073: change ODBC/JDBC escapes to lowercaseJulien Nabet
Change-Id: I19ce3acb9575fbef8273bbd84cb4dc322e101ac8
2014-10-09fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca
* Added rational util functions used by Fraction class not available in the boost::rational class. * Replaced usage of Fraction by boost::rational<long> * Removed code that relies on: 1. fraction.IsValid() -- rational only allow valid values, ie denominator() != 0 2. rational.denominator() == 0 -- always false 3. rational.denominator() < 0 -- always false but implementation detail: http://www.boost.org/doc/libs/release/libs/rational/rational.html#Internal%20representation * Simplified code that relies on: 1. rational.denominator() != 0 -- always true * BUGS EXIST because Fraction allows the creation of invalid values but boost::rational throws the exception boost::bad_rational Change-Id: I84970a4956afb3f91ac0c8f726547466319420f9 Reviewed-on: https://gerrit.libreoffice.org/11551 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-10-09remove SvRefBase::QueryDeleteNoel Grandin
Move it's functionality into the only place that needs it, in the dbase driver. Removes an extra virtual call from a widely used class. The dbase driver seems to be using to perform some kind of whacky object recycling, so it's not like we want this functionality to be used somewhere else. Change-Id: I41018f71e0b0a79fdd3d527536f0ac95c788e614 Reviewed-on: https://gerrit.libreoffice.org/11786 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-07connectivity: try to fix build after f641fd15Michael Stahl
Change-Id: I6a8534044eb0c245ef8aa80c52cd1a37ba8fa5a5
2014-10-06Revert "ADO driver: don't override a virtual method just to call the one of ↵Lionel Elie Mamane
the parent" This reverts commit 220deb0a0ed7b3efa14088acdab0520709309105.
2014-10-06Revert "ADO: don't override a virtual method to call the one of the parent"Lionel Elie Mamane
This reverts commit fa8f2fdf45c168a25dd955ebd24780b4863d6cde. Change-Id: I252e29648fb59a15379ba2f3b63d6914a7fc3a93
2014-10-06ADO: don't override a virtual method just to call the one of the parentLionel Elie Mamane
Change-Id: Ibae309ffbb7b2500c9113a95ca3fc508de378976
2014-10-06mozab driver: don't pretend to implement an interface one does notLionel Elie Mamane
Change-Id: I8ab2e2691ecf35e00283bd3144b2f4c8203adc3a
2014-10-06ADO driver: don't override a virtual method just to call the one of the parentLionel Elie Mamane
Change-Id: I39020452e8ff4b17b0c1cfb9ff54bf650ab97fc3
2014-10-06ADO driver: don't pretend to implement an interface one does notLionel Elie Mamane
Change-Id: I6234974cfc1b7650a35b8f7b9a4132acf797c91b
2014-10-06drop connectivity testmoz workbenCaolán McNamara
Change-Id: I09b387606dee76605ad60dcf8cfb3fc68057d7be
2014-10-03coverity#1242888 Unused valueCaolán McNamara
Change-Id: I3adde518347208cb1ab7a2013c519d9eabcf7b3d
2014-10-03cid#704588 Dereference after null checkNoel Grandin
Change-Id: If84e072da9e59140466262fbeac4dc787a9de898
2014-10-03loplugin: cstylecastNoel Grandin
Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macroMichael Stahl
This is supported in GCC 4.6.0 already: https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-10-02coverity#1242903 Result is not floating-pointCaolán McNamara
Change-Id: Id816a9b8845eb9d41bfea5a8399bca86726bebfe
2014-10-01connectivity: the assigned value is never usedRobert Antoni Buj i Gelonch
Change-Id: I6e4d2fc6563f0ff1a65e114d018675c314a04fd6 Reviewed-on: https://gerrit.libreoffice.org/11741 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
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-29connectivity: Use chain of .append methodsRobert Antoni Buj i Gelonch
Change-Id: I15604e97dc38f1fcfa62c3d86208e72a86dda23e Reviewed-on: https://gerrit.libreoffice.org/11688 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-26factorise odbc headers inclusionLionel Elie Mamane
it is complicated enough that we should implement that logic only once Change-Id: I0cc5ffb871223b27df825f21612e3c8f6f2febb3
2014-09-26connectivity: typoMichael Stahl
Change-Id: Ic4c8637500c13d097f5b26222d7d4005f2251d1a
2014-09-26fix build & better name for ERROR_INVALID_TABLELionel Elie Mamane
Change-Id: Ic7253575859766f18869159e4a8dd6b3d715850d
2014-09-26implement --with-system-odbc on windowsNoel Grandin
Change-Id: I1757b9ce74277b1c11533f41caeafaf9b88658ef
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt32Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt16Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
2014-09-26remove unnecessary casts in calls to SvStream.WriteUCharNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I2ea4c7d97e745b3e6a3834f41ac7bfefa4883c7a
2014-09-26remove unnecessary casts'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
2014-09-25Add missing #include.Jan Holesovsky
Change-Id: I0f617f2b4ef7bcb2b07295223acae5519280a41e
2014-09-25fdo#84284: Adapt jar Class-Path to new Mac OS X LibreOffice.app layoutStephan Bergmann
Change-Id: If5a04b7b9ab6c7909cf089f7e935f9c08ea31948
2014-09-25ensure that osl_atomic_decrement gets called after osl_atomic_incrementCaolán McNamara
Change-Id: If110d27950a4efd1a96dc5f2702f4dfbfe58bcbe
2014-09-25coverity#1210000 Uncaught exceptionCaolán McNamara
and coverity#1210001 Uncaught exception Change-Id: Ia6ef659ba6e62d56813a87c3fcf0fa4a5d26d9f9
2014-09-25connectivity: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I796dc05d1846f140a56b5a6f14a69a239324ae5b
2014-09-22fdo#84086 Fix assorted use-after-free bugsMatthew J. Francis
Change-Id: Iec004fffdb0afbe27bd69f379db90f6d904a8a65 Reviewed-on: https://gerrit.libreoffice.org/11553 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-21Fix some typosDavid Ostrovsky
Change-Id: I0f2821c87c03f8d3df2e60bab9e09ce6545e2b2c
2014-09-19speed optimisationLionel Elie Mamane
Change-Id: I8f27adf834e09702c609170e63facb1ec1ea0ab7
2014-09-19constifyLionel Elie Mamane
Change-Id: If9866d25b228a5b84844943c17406c10f2c8515d
2014-09-19Better -Werror,-Wunused-function workaround, missing filesStephan Bergmann
Change-Id: I8bcdbf3c2b9dec25eab943212258bc2b3a82ebc7
2014-09-19Better -Werror,-Wunused-function workaroundStephan Bergmann
...superseding 9de4f3b3fd7843f27ea69788b6e37c5022ac2ad3 "-Werror,-Wunused-function, plus additional clean-up and fixes." Change-Id: I014ca289601a8195fb297ce335b3a52993284e8f
2014-09-19oups... fudge to match system ABI when *not* using system ODBC headersLionel Elie Mamane
Change-Id: Iacf99411c87947c47f1ecb1ff8236d6b533145bb
2014-09-19Don't override ODBC headersLionel Elie Mamane
Change-Id: I47d0a1bb2a1fd275812fc2e647402f59bbf55442
2014-09-19fdo#83924 align with system ODBC ABI on MacOSX: SQL_WCHAR is wchar_tLionel Elie Mamane
Change-Id: I0e3478279d750ff0b044fa79b88e99bcae82beb9
2014-09-16-Werror,-Wunused-function, plus additional clean-up and fixesStephan Bergmann
Change-Id: I4a2b67ba186e205a7cb4757a4f7120b9393823d0
2014-09-16better fix for build with 32bit SQLWCHARLionel Elie Mamane
Change-Id: I8aa94ee7509994866593ff96404b0d8244701f15