Commit graph

5420 commits

Author SHA1 Message Date
Norbert Thiebaud
8b18c70b99 clean-up remnant obsolete CALL_CDECL 2011-12-24 21:42:09 -06:00
Rene Engelhard
a8feb5b1df support libebook-1.2.so.12 (evolution 3.2) 2011-12-24 14:11:09 +01:00
Caolán McNamara
80a11f0d43 ByteString->rtl::OString 2011-12-22 09:07:47 +00:00
Caolán McNamara
c4f0efc237 convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 13:44:52 +00:00
Caolán McNamara
6708977331 needs more work first
This reverts commit 92f396733e.
2011-12-21 10:30:10 +00:00
Caolán McNamara
92f396733e convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 10:10:58 +00:00
Ivan Timofeev
d18daeff77 correct diagnostic message 2011-12-17 16:36:00 +04:00
Ivan Timofeev
198a99861e drop redundant always-true condition 2011-12-17 16:36:00 +04:00
Olivier Hallot
1777c09a07 Fix for fdo43460 Part IX getLength() to isEmpty()
Part IX
Module
connectivity
2011-12-17 16:36:00 +04:00
Muthu Subramanian
b00c4ec096 Adding more dbf file types.
Uses info from comments in i18728.
2011-12-16 20:45:25 +05:30
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Michael Stahl
6fd2d81517 fdo#43707: tweak workarounds for fdo#42865:
Apparently on Windows the SAL_DLLPUBLIC_EXPORT does not work for unknown
reasons, so use the old mapfiles on that platform.

Should fix regressions from 1fb5eb21, 48dbaa51, a9da5a0b.
2011-12-15 17:28:35 +01:00
Caolán McNamara
8cbfe4e211 ByteString->rtl::OString[Buffer] 2011-12-14 09:52:49 +00:00
Christian Lohmaier
f56780576f -Wl,-dead_strip_dylibs is not supported with XCode 2.5 2011-12-14 01:01:20 +01:00
Caolán McNamara
da5f9b7c29 use RTL_CONSTASCII_STRINGPARAM 2011-12-13 10:11:42 +00:00
Christian Lohmaier
bedebfcb51 get rid of obsolete path-delimiter escape 2011-12-13 02:02:54 +01:00
Christian Lohmaier
89b4260fc9 GUI is also UNX for Mac, to check for Mac use either OS→MACOSX or GUIBASE→aqua 2011-12-13 01:59:12 +01:00
Lionel Elie Mamane
1a658dda70 postgresql-sdbc: do not use GNU ld-specific options on MacOS X 2011-12-12 23:08:15 +01:00
Julien Nabet
84a3f11c7a Remove ByteString 2011-12-12 22:01:47 +01:00
Lionel Elie Mamane
5438fef04f postgresql-sdbc: get libpq link deps from postgresql build system 2011-12-12 19:31:53 +01:00
Fridrich Štrba
80d3c4b682 Hopefully the last of the pgsql saga 2011-12-12 15:58:44 +01:00
Fridrich Štrba
a7639b7b5a Enable pgsql LDAP support when building with OpenLDAP 2011-12-12 11:03:42 +01:00
Fridrich Štrba
f5501498eb Enable OpenSSL support in the internal libpq 2011-12-12 10:17:06 +01:00
Fridrich Štrba
d1a1585c30 Some more postgresql fixes
1. The --enable-extension-integration affects only packaging
2. OUTDIR_FOR_BUILD is for native build in case of crosscompiling
2011-12-12 04:51:49 +01:00
Michael Stahl
1da85eb63b connectivity: remove dead DNoException.cxx 2011-12-09 15:18:02 +01:00
Fridrich Štrba
a4845bd70e Make link and deliver the postgresql.oxt extension also on windows 2011-12-09 14:50:44 +01:00
Norbert Thiebaud
0c60677c96 WaE Mac gcc is confused with >>= operator overload (it is not alone)
>>= operator overload turn the right-value of the operator into a
left value... which confuse the heck out of the compiler's detection
of use of unitialized variables (and also C-reader like me for
whom >>= means something else altogether...
(why on earth are we right-bitshifting... with an unitialized variable...
oh! fracking operator overload!!!)
2011-12-08 13:04:08 -06:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Fridrich Štrba
e05856c798 Fix build of pgsql connector (std::hash -> boost::hash) 2011-12-07 22:21:48 +01:00
Lionel Elie Mamane
e53cf6c27f pgsql-sdbc: do not use -s option to sed; GNU extension, breaks MacOS build 2011-12-06 05:31:24 +01:00
Lionel Elie Mamane
402db3dceb PostgreSQL-SDBC: increment version number 2011-12-05 00:10:34 +01:00
Lionel Elie Mamane
fcf4f2c9c0 ODBC DBMetaDataResultSet: on move, update internal state as necessary
After successful last(), isLast() should return true!
Thus, when moving to last record, keep that fact in mind (update m_bEOF) so that isLast returns right result.
Also update m_bEOF on other moves.

Update m_nRowPos on next(), for the same reasons, mutatis mutandi.
2011-12-04 20:01:00 +01:00
Lionel Elie Mamane
44ec239eba Internal libpq (PostgreSQL client lib) 2011-12-01 22:56:24 +01:00
August Sodora
9ee19c8fad fdo#41474: remove setCharAt and charAt from O[U]StringBuffer 2011-12-01 16:23:08 -05:00
Eike Rathke
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
August Sodora
443a7229f9 Remove uses of charAt 2011-12-01 11:10:28 +01:00
Lionel Elie Mamane
05b53b1b8e postgresql-sdbc: review build rules 2011-11-30 21:10:58 +01:00
Lionel Elie Mamane
aad641e29b pgsql-sdbc: adapt comment to new code situation 2011-11-30 18:37:46 +01:00
Lionel Elie Mamane
a3e51cf3d1 pq-sdbc statics: properly initialise defTypeInfoMetaData 2011-11-30 17:18:30 +01:00
Lionel Elie Mamane
5f3bd5bed3 pgsql-sdbc: Robustify against empty arrays, etc 2011-11-30 16:00:13 +01:00
Lionel Elie Mamane
9a466d9718 ODBC: use right integer length to get Statement Options
Else (on 64bits platform) the driver smashes our stack: SQL_ULEN is 64 bits
Widen result type of getQueryTimeOut, getMaxFieldSize and getMaxRows so that it will always fit
2011-11-30 16:00:00 +01:00
Michael Meeks
51bd0803b3 rename, and bundle the postgresql driver if it is enabled 2011-11-30 13:00:21 +00:00
Michael Meeks
1932529adf postgresql: work around uninitialized warning. 2011-11-29 17:32:29 +00:00
Michael Meeks
4cc501d817 WaE: sizeable postgresql warning cleanup 2011-11-29 17:32:29 +00:00
mst
5b6487aa8c fs34c: #i117666# check first if value is null
* found as LGPLv3-only fix at svn rev 1172125 (http://svn.apache.org/viewvc?view=revision&revision=1172125)
2011-11-29 17:57:31 +01:00
Caolán McNamara
6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Caolán McNamara
48221d6a2b ByteString::GetToken->comphelper::string::getToken 2011-11-28 09:55:02 +00:00
Norbert Thiebaud
3c43177528 remove include of pch header in connectivity 2011-11-27 13:02:11 -06:00
Korrawit Pruegsanusak
c3dc018984 typos fixing 2011-11-27 15:12:07 +07:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00