summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)Author
2016-01-25more Windows build fixesNoel Grandin
after my OInterfaceContainer2 change Change-Id: Idab05e4496028d9418b1eb881f62ce33498e008b
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-22GCC PCH says -Werror=unused-macros BOOST_SPIRIT_DEBUGMichael Stahl
... so try to blacklist that boost::spirit header, it is fortunately included only in one cxx file per library anyway. Change-Id: I95752540d33b2b20d7a185c05c4d4d15e660d956
2016-01-21loplugin: unused return valuesNoel Grandin
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7 Reviewed-on: https://gerrit.libreoffice.org/21628 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-20loplugin:unusedmethodsNoel Grandin
Change-Id: Ib2dc804f55d1a96ae01f2cf31b7d55956040a72e Reviewed-on: https://gerrit.libreoffice.org/21603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-13connectivity: suppress MSVC 2013 --enable-lto warning C4702Michael Stahl
Change-Id: I55b27c655de221c10bac6f868a59b0dbd6cd8d32
2016-01-13-Werror=misleading-indentation (GCC 6)Stephan Bergmann
Change-Id: Ide514da5b4413974e50beeb4f41881294475303c
2016-01-12connectivity: remove MSVC 2012 specific hackMichael Stahl
Change-Id: I78a25118d68ab7ad1db5240910f0974ba1e8381f
2016-01-11loplugin:defaultparamsStephan Bergmann
Change-Id: I60c66ae8944cb4cfe82bfb762d9739446362b61b
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-07Some cleanup for sal_uIntPtr usageJohannes Hauf
Change-Id: Ia9779e6477d8848588f3543d09ea6b4477f594a2 Reviewed-on: https://gerrit.libreoffice.org/21022 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-05Revert "WIP tdf#72987 Use firebird backup format for .odb no need for ↵Lionel Elie Mamane
rebuild indexes" This reverts commit f961fef03906fc059a4a0c008799f68fc22727c1. This can be done only *after* the firebird driver switches to the backup format. Change-Id: I71874ab6d4b4da9648e08d037786a56f9421751d Reviewed-on: https://gerrit.libreoffice.org/21113 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2016-01-05WIP tdf#72987 Use firebird backup format for .odb no need for rebuild indexesPopa Adrian Marius
Change-Id: I57694365a4d10cba4e8690b2b23b4f0a704ddc3c Reviewed-on: https://gerrit.libreoffice.org/14968 Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-04these fields can be static constantsNoel Grandin
Change-Id: Id56e219782d7f858cdeb26232c7aabd4f643c9d9 Reviewed-on: https://gerrit.libreoffice.org/21020 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-04TDE kab: fix dbgutil and clang werror buildJan-Marek Glogowski
Change-Id: I37948ff77d060dc18a583389966b52c06a95bdaf
2016-01-02cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Ic6407a57440fbd887f9ec9d5963e5748aa89a29e
2015-12-23loplugin:unusedfields in connectivityNoel Grandin
Change-Id: I32226b6959b2bfd316de6ed93b070b68ad875562
2015-12-21loplugin:unusedmethodsNoel Grandin
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
2015-12-18tdf#96572 firebird correctly transmit request for NULLLionel Elie Mamane
even if column is not nullable Change-Id: I72ceda68e983125aef26c8f0aacc06320bd16b77
2015-12-13ODBC SQLBindParameter nitpick: correct DecimalDigits for exact numeric valuesLionel Elie Mamane
The driver is supposed to ignore it as per the spec, but let's be conservative and pass the value defined by the spec. Leave it as invalid for approximate (floating-point) datatypes. Change-Id: I542fdde5e711a335c708ad9e6f2abe2fd8632ef6 Reviewed-on: https://gerrit.libreoffice.org/20685 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-12-13tdf#96461 ODBC SQLBindParameter: correct DecimalDigits for time(date) valuesLionel Elie Mamane
Change-Id: I33c63d2c002d9abcbadb16bcd460996ef3212f4a Reviewed-on: https://gerrit.libreoffice.org/20684 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-12-11loplugin:nullptrStephan Bergmann
Change-Id: Ib3acd5b853283dce2cdcbe72d7992637368fdf6b
2015-12-11tdf#96396 evoab2 does not need gtkDavid Tardon
Change-Id: I727d90e4ffc4d567ad02ca5b55b1e8d26d15e928
2015-12-10loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
2015-12-10Undef RGB where it was defined, not where it gets usedStephan Bergmann
Change-Id: I274958964292f78c802748e17fca7f265ae5a4b8 Reviewed-on: https://gerrit.libreoffice.org/20429 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-04Wingdi RGB macro handling improvedAshod Nakashian
Improved the isolation of windows headers. Specifically, RGB macro is better handled now. Change-Id: I0eeea16d0de9da3455810c80b0715f7b54ae8c3f Reviewed-on: https://gerrit.libreoffice.org/20039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-30protected -> privateStephan Bergmann
Change-Id: I43d4da8301d9a0c9cc4d48c38c9945551ddc0151
2015-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Ife94d488ead512abc6d137a0df74298bac67185d
2015-11-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: Ib7c576caff35dba57727bbb0ed12a7c50be2d95e
2015-11-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: I23b4532cffbc9152a36f7f4cfadfc016c93f2706
2015-11-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: I1fce689dfda33860623487085c45308d76274f6c
2015-11-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: Iaa58497f5c38dd69a8f98a7febb051cc2e3e5301
2015-11-28-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I539326ee46615adfd648acb15cbd3eacfd914989
2015-11-28-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: Ie8cfbb51b706e3b2c1d0b33aef5156438e9c7134
2015-11-28-Werror,-Woverloaded-virtualStephan Bergmann
Change-Id: I40a88271b32d81f5857dd41b237e2c486c7059a0
2015-11-28error: ambiguous conversionStephan Bergmann
...for C-style cast from 'connectivity::ado::OLEString' to 'rtl::OUString', as connectivity::ado::OLEString has conversion operators to both OUString and BSTR (i.e., wchar_t*), so both the OUString copy ctor and OUString(sal_Unicode const*) ctor match. At least MSVC 2013 happily compiles that without complaining, but clang-cl does. Change-Id: Ica634cf19c0fcf1dbff377cb503f6ea6c8257898
2015-11-28-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: I607bd38a8cbed1f6b140a1adeb198cf3334a9c5e
2015-11-26Mork: Reuse profile discovery from mozilla bootstrapDavid Ostrovsky
Mozilla bootstrap driver is used in xmlsecurity to discover default profile and induce the path to the public keys file location from certification authorities. The same profile discovery code is used in mork driver. Remove duplicated code and re-use the service from mozilla bootstrap driver in mork driver. Change-Id: I6bc271ccf75e89eb81767186ddd9078c1f64b73d Reviewed-on: https://gerrit.libreoffice.org/20111 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin
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 Bergmann
Change-Id: I882746f9c4a1c332c6657b93f104ecbf1c7be6f1
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I9865090364220527830b7f32d5b506e50a2c0874
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin
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 Grandin
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 Nakashian
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 Grandin
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 Grandin
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 Bergmann
...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 McNamara
Change-Id: I8aa233446f1bc8cc94332830d7b1813f1674202b
2015-11-115th step to remove tools/rtti.hxxOliver Specht
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>