summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
2012-11-15ensure translations are built before using themDavid Tardon1-1/+1
Change-Id: Ia172f144616d7468466a057bb1a431b3047209fd
2012-11-14source file modes fixEnrico Weigelt, metux ITS1-0/+0
Change-Id: I8975f26f205ba33044285729da54e0210f872fcb Reviewed-on: https://gerrit.libreoffice.org/1065 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-14Cleanup unusedcode.easyJosé Guilherme Vanz4-55/+0
This commit removes some unused code from unusedcode.easy Change-Id: I204edb6a29e23af244e7997622c5a9b3f596cb2f Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1052 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-09use dir functionDavid Ostrovsky1-1/+1
Change-Id: Icba39756a54d1225514048c55ddad0f31ce31699
2012-11-09Introdude SAL_JNI_EXPORT and use that instead of JNIEXPORTTor Lillqvist4-27/+27
Use it in the cases where I yesterday changed SAL_DLLPUBLIC_EXPORT to JNIEXPORT. It turns out that on Linux JNIEXPORT does not enforce "default" visibility, but expands to empty. Change-Id: I033b3cf538715fb596e965e17f3da12fb987df63
2012-11-09Use JNIEXPORT to really export these for AndroidTor Lillqvist1-7/+7
Now with DISABLE_DYNLOADING, SAL_DLLPUBLIC_EXPORT actually means hidden visibilty. Which is OK in general as with a single DSO (or a single executable, for iOS), none of our "normal" entry points need to be visible froom the outside. So for the JNI entry points use JNIEXPORT. On "normal" platforms it should be equivalent to SAL_DLLPUBLIC_EXPORT. Change-Id: Iad634950e635ac03a0e90cae6d00afd9fb4eeb64
2012-11-09Use JNIEXPORT as in the corresponding headersTor Lillqvist3-20/+20
Change-Id: Iae8f93d096178532e2384a13b36e1385269aa14f
2012-11-08connectivity: fix re-introduced bug fdo 35023Michael Stahl1-1/+1
regression from f42a9309760565d24619bad9ee1f5561ce89c14b which forgot to adapt getImplementationEnvironment to new prefix Change-Id: If5a6f804b8f9f91e22f093a76f6b81a2b62991ab
2012-11-08add mkdir commandDavid Ostrovsky1-0/+1
Change-Id: I7a337ed15b86417faa5ac03089e8c315be95b717
2012-11-07enable ado driver unit test againDavid Ostrovsky3-9/+10
The problem is that ado driver creates a link file in the tree leaving it dirty: tinderbox doesn't like it. Instead of reading the mdb file direct from srcdir we copy it first to workdir and read it from there with the new function: getPathFromWorkdir. Thank you Norbert! Change-Id: I504bc26b80686db55a505bac19a95cc9c6022fcc Reviewed-on: https://gerrit.libreoffice.org/1004 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-07Always package at least mozbootstrapStephan Bergmann1-0/+1
...if not even mozab. Otherwise, there is no implementation of com.sun.star.mozilla.MozillaBootstrap and "File - Digital Signatures... - Sign Document..." cannot show any certificates from Mozilla profiles. Change-Id: Ie9b73fad798b2c2a3b52ba374ea967401694f685
2012-11-07mozab: adapt to XComponentContext changesMichael Stahl1-1/+3
Change-Id: I6b8cdd69edb1e25cd7545cea5a3ffdfcff5000a0
2012-11-06XMultiServiceFactory / XComponentContext fixTor Lillqvist1-1/+2
Change-Id: Icf337b7bb0894a61b2a36a594ff259c601ddaabb
2012-11-06fdo#46808 adapt evoab driverDavid Tardon2-2/+5
Change-Id: I4debeba1b9637fdaaa369a28c9a6c98a4729d76e
2012-11-05fdo#46808: Adapt macab driver to recent commitStephan Bergmann2-3/+4
Change-Id: Ie6e9c58cc4762a0159680a71ce2e03340dac6f7f
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin17-39/+40
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-05ADO getRSConcurr(): translate ADO LockTypeEnum into our css::sdbc::RSConcurrLionel Elie Mamane1-1/+13
That code was there since the beginning, but unreachable. Consequent cleanup removed it. Change-Id: I2564038ce58d7aff3860f154acac37266c155146
2012-11-05disable ado test to make tinderbox happyDavid Ostrovsky1-5/+6
Change-Id: I2c1aa64db61e281dc1cddc2e7d89d9b109dcf287
2012-11-03fix connectivity test with Win8 sdkPeter Foley1-0/+6
Change-Id: I1a7f15c4fd97e3a134698e8b6f7e2a93701674fe
2012-11-03fix copy ctorLuboš Luňák1-5/+7
Using operator= in a copy ctor is a rather bad idea when the operator= accesses uninitialized data members.
2012-11-03fix strange copy ctor that triggers a missing base initialization warningLuboš Luňák1-1/+2
2012-11-03ado headers need -fpermissive with gccLuboš Luňák1-0/+6
2012-11-03fix copy&pasteLuboš Luňák1-1/+1
2012-11-03fdo#53070 add complete unit testDavid Ostrovsky4-0/+211
Change-Id: I34f7a8ae58fa6af4c8cfdd13330420f1576fa2c9
2012-11-03fdo#53070 fix access violationDavid Ostrovsky1-2/+1
Through that different initialization pIUnknown got random address. The consequence was that if (pIUnknown) pIUnknown->Release(); ends with access viloation in WpBase& WpBase::operator=(const WpBase& rhs) Change-Id: I8b3c5de233d0868fea052c990cc83aed917117ae
2012-11-02connectivity: port ado driver to new OColumn, tooLionel Elie Mamane2-2/+2
Since the ADO driver does not support Catalog&Schema, just leave it empty Change-Id: Iff9a5105e70a7b9a23f24263b0e74b4fc6d91332
2012-11-02janitorial: spacingLionel Elie Mamane1-2/+2
Change-Id: If8600f1b3d9346c54ffbba77826ff5ac4f1ed15f
2012-11-02ditch SISSL using workben codeCaolán McNamara7-1298/+0
Change-Id: I9a55180e0a0ef1bc14ce7c84265fb3d5508bd541
2012-11-02connectivity: port macab driver to new OColumn, tooLionel Elie Mamane1-5/+9
Change-Id: I88a64a19d9f2812a77f0a71f31fe8314732ec44f
2012-11-02connectivity: port kab driver to new OColumn, tooLionel Elie Mamane1-5/+9
Change-Id: I19657ee92b5d0e1e51d11dd2aa69191fdb0f4f50
2012-11-02stray )Caolán McNamara1-1/+1
Change-Id: Ib0573685773745ac8698d76faa5ebe2cd1a109b3
2012-11-02connectivity: port mork driver to new OColumn, tooLionel Elie Mamane2-4/+14
Change-Id: I2433bd2cc289b9ded1c825ea3dbe1db2ccf4bae9
2012-11-02janitorial: use adress-of-value instead of manually repeating typeLionel Elie Mamane1-7/+7
Change-Id: I137d4f794c7c738deedddfe8ea5e0dc783b49e7c
2012-11-02WaE janitorial: unused variableLionel Elie Mamane1-1/+1
Change-Id: Id2846bd6db9bace6cffacf3a9fc4116ae727facf
2012-11-02Columns should know their tableLionel Elie Mamane23-109/+213
For example dbaccess::OSingleSelectQueryComposer::appendOrderByColumn expects it (via impl_getColumnName_throw via getTableAlias) There is some vagueness: Should the TableName property contain just the table name, or the *composed* table name (that is with catalog and/or schema if used by this DB)? In the case of a query, should it contain the table name (alias) *in* *the* *query* or of the original table? In the former case, what meaning do SchemaName and CatalogName have? They should be empty? For now, commit as such and deal with the fallout, if any, when it hits the fan. If we really need to store these *different* values, (that is, some code validly needs them) it would be easier / cleaner / ... to define *different* properties for these *different* notions. Change-Id: I032e619a60e7563cd51478db16cb5e0e5452bfde
2012-11-02Retrieve CatalogName only once, tooLionel Elie Mamane1-4/+3
2012-11-02janitorial: alignmentLionel Elie Mamane1-8/+8
Change-Id: I5ff8335d9c7324a101d055ff9666fce867bac8ff
2012-11-02janitorial: space between argumentsLionel Elie Mamane1-10/+10
Change-Id: I430929a19d7f5c9c6859c12a0952f9d335de4520
2012-11-02janitorial: use adress-of-value instead of manually repeating typeLionel Elie Mamane1-7/+7
Change-Id: If2422a618f98685d029289a5357fa7d7860567e7
2012-11-02janitorial: alignmentLionel Elie Mamane1-8/+8
Change-Id: Ia5e4729c2c85dfacc4505c3674a113a6a4415ab0
2012-10-28fix some VS 2010 specific issuesDavid Ostrovsky5-1/+9
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82 Reviewed-on: https://gerrit.libreoffice.org/914 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-26fixupLionel Elie Mamane1-1/+1
Change-Id: I579dd5fc6c71ac9dad2de622e9125b399f3e160e
2012-10-26ODBC PreparedStatement Parameters: redesign setXXX handlingLionel Elie Mamane6-427/+251
More type-safe way, instead of void* everywhere void* instead of sal_Int8 for raw memory / multi-use buffers Fixed more issues than I care to count, but at least: - updates to a DECIMAL were truncated to integer because DecimalDigits set to 0 maybe/probably also NUMERIC - setObjectWithInfo(... DataType::LONGVARCHAR ...) was passed as AT_EXEC, but the buffer was already free()d by then -> crash or wrong data Change-Id: I0e6791a05b96fb345bfe3f911386263e6cfedde9
2012-10-26duplicated codeLionel Elie Mamane1-25/+0
Change-Id: Ifa9b93b2daf0bb448711eb1bd3ebab69febf4f9c
2012-10-26odbc::OTools::bindParameter takes an ODBCtype, not a JDBCtypeLionel Elie Mamane1-1/+1
Change-Id: I6de4e86f09be74518c9980d1b2347217cdcc4e02
2012-10-26UpdateBuffer optimisation: cache column value, isBound() and isNull()Lionel Elie Mamane1-15/+18
Change-Id: I70f92224e22e9a9a1283564b5b1be7bf1e0240d0
2012-10-26fdo#52392 dbase: correctly NULL out non-filled in fields in inserted rowsLionel Elie Mamane2-9/+9
Change-Id: Id2e8ad5b6bed1c184de6dccf7fa43254099fb958
2012-10-26improve commentsLionel Elie Mamane1-2/+2
Change-Id: I50c64d5fcf1d642052be5edbe64dde2c03c1eba9
2012-10-26dbase::ODbaseTable::WriteMemo does not change its ORowSetValue& argumentLionel Elie Mamane2-2/+2
Change-Id: Icf6a71900d79377cde84c2307ce85a9b3c96a54f
2012-10-22make sure libpq is in place before it is usedDavid Tardon1-4/+0
Change-Id: I799a149b319bb6a3168117810084496f8b6d6fbb