summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann3-3/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-3/+6
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-14connectivity: remove #pragma GCC system_header in mozabdrvMichael Stahl6-18/+0
... which can only be built with MSVC currently anyway. Change-Id: I806be27ec18e4f04e000f0b5d9ea613c3199855c
2013-11-14fdo#70144 Mark database document as modified when data inserted in firebird.Andrzej J.R. Hunt4-0/+26
This only applies to embedded databases where any changes to the database only affect the temporary extracted db which still has to be stored into the .odb. This only fixes the status for modification/insertion/deletion of data in existing tables. Insertion of new tables still does not result in the modified state being set. Change-Id: I553f67127672f2cf49b98ddcdf7d25f22bef5074 Reviewed-on: https://gerrit.libreoffice.org/6621 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-6/+0
Change-Id: Iea28e36ca398018acbae44517c378bb4b188a0b0
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-5/+0
Change-Id: I7f59e3ac50a055486cd1f1dd2d887d38a3ad92c7
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin2-21/+21
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-13Pass Document directly to Driver for embedded databases.Andrzej J.R. Hunt2-47/+25
Change-Id: I346a8ef07c5d695b3aa879f5c25cc4af97e25b99 Reviewed-on: https://gerrit.libreoffice.org/6627 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-11-13remove archaic drop comments referring to STRING_NOTFOUNDCaolán McNamara2-2/+0
Change-Id: Ieb31ca4d3a4dbeae2bc66f9c94b243425805fdb0
2013-11-13xub_StrLen->sal_Int32Caolán McNamara3-9/+9
Change-Id: I4ee33d8c5c564df62ad65cbcaf0d0cb253129fc8
2013-11-11convert STRING_NOTFOUND -> NODE_NOTFOUND in connectivityNoel Grandin2-9/+9
The code was interchangably using the two anyway. Change-Id: I4f3fe8f1d699a9725bbcce0138a9d978a1eff28a
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin7-10/+10
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin6-16/+16
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin5-36/+36
Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11remove unnecessary use of OUString constructorNoel Grandin3-11/+11
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11remove unnecessary use of OUString constructor in CONNECTIVITY moduleNoel Grandin62-183/+177
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
2013-11-10clean up #ifdef ICC codeMichael Stahl1-50/+0
According to the dmake documentation, ICC refers to Visual Age C++ for OS/2, which is not a supported compiler (or platform). Change-Id: Ic9e23bc7c44de110a3a312bd007beda3b660927d
2013-11-09fdo#65108 inter-module includes <>Lionel Elie Mamane2-5/+5
Change-Id: Ie8ca0b1aa7b56ea1d62c9eed798c56ca78464c44
2013-11-09make firebird-sdbc an experimental featureLionel Elie Mamane6-2/+15
Change-Id: I0f2453e23d18597cfe1ad2a4cd4902b15f0a8f7d
2013-11-07WaE: unused variable 'sSqlStatement' [loplugin]Tor Lillqvist1-1/+1
Change-Id: I30fe491d8257affb994083ae312d9663ef7a28e9
2013-11-07typo in commentLionel Elie Mamane1-1/+1
Change-Id: Iea5084bd1c5765197e5dcf379637a780e52f42bd
2013-11-07fdo#65108 inter-module includes <>Lionel Elie Mamane1-4/+4
Change-Id: Ie7e08f25741772f657a71369483917d989a05537
2013-11-07firebird-sdbc: replace named parameter by unnamedLionel Elie Mamane4-5/+44
Change-Id: Iad6023d9d16b10001bb8493dea483e655fc8519c
2013-11-06#i123575# RmMoz 7/9: fix mismatching header guard commentHerbert Dürr1-1/+1
(cherry picked from commit ce2260c549c1cafadd1182e4e7155b18ab44e771)
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin2-5/+5
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-04fdo#54938: Convert to use cppu::supportsServiceJosé Guilherme Vanz1-1/+2
Change-Id: I5b8e08bad3d83b6df23127377c0700fcd27ff084 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-04Fix bogus OUString constructor fixes.Andrzej J.R. Hunt1-4/+4
aeb41c9b9b7559c6d87bf92807acdc0df9e104cc (remove redundant calls to OUString constructor) introduced: error: variable 'sComposedName' is uninitialized when used within its own initialization Change-Id: I846337da43625d1cdbd33f0705499daa0c419894
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin5-5/+5
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin27-195/+133
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin5-10/+8
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-01Resolves: fdo#71062 Embedded Firebird - Tables with Date-fields let LO crashJulien Nabet1-1/+1
Change-Id: Ie28a1e8765ab9ff6eb345198d6ea223e25429e11
2013-11-01cannot convert parameter 1 from ´const char [2]´ to ´sal_UnicodeCaolán McNamara1-1/+1
Change-Id: I66a1005c3f6bcad448ed2c162a8399c7c32ad78e
2013-11-01fix mozab driver after OUString changeNoel Grandin1-5/+5
for Windows build after my change in commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6 "Convert indexOf->startsWith and lastIndexOf->endsWith" Change-Id: I9397f1310742cdd773a7d2d3c5f0dbe728041d2d
2013-10-31clean up mozilla externalMichael Stahl1-20/+0
Change-Id: Ic69b8763da2933159b55a243c7aed4a8ce557183
2013-10-31fix ambiguous OUString constructor callNoel Grandin1-2/+2
after commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6 "Convert indexOf->startsWith and lastIndexOf->endsWith" Change-Id: I19c0e33e318cbf4be90d60bcbb83bc5de4336190
2013-10-31WaE: while loop has empty bodyTor Lillqvist1-1/+1
Not just a warning, but clearly an accidental editing error. Change-Id: Ib708b1de774d56d6c4b144c4e10e280f8181b67b
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin9-37/+33
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-30connectivity: mozabdrv: avoid warning C4005 macro redefinitionMichael Stahl1-1/+0
Both winnls.h (included via windows.h) and mozilla nsCharTraits.h define macro IS_HIGH_SURROGATE/IS_LOW_SURROGATE; it turns out that the nsEmbedAPI.h that drags in winodws.h is apparently unused. Change-Id: If5189c58dc1fe3a508a360a270337f97333e0ce8
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl1-2/+0
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28windows: warning 4706 is disabled globally in com_MSC_defs.mkThomas Arnhold1-1/+1
So there is no need to do this locally, too. Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
2013-10-27Remove redundant comment.Andrzej J.R. Hunt1-1/+0
Change-Id: I317f83e8aca7f61148385763bc1f0a78a84530d8
2013-10-27Firebird: Use explicit integer sizes.Andrzej J.R. Hunt1-2/+2
Change-Id: I5cabe21a2d675773792f9c9d5130d8660718efe8
2013-10-27FIREBIRD: SQL_INT64 should be 8 bytesArnaud Versini1-2/+2
Change-Id: Iae71aab4cd68592fa6e5a7d55468e442e6d94385 Reviewed-on: https://gerrit.libreoffice.org/6451 Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org> Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2013-10-25fdo#6412 firebird-sdbc DatabaseMetaData unimplemented getXXX: provide empty RSLionel Elie Mamane1-11/+32
As opposed to NULL object. Else, callers that do a UNO_QUERY_THROW get unexpected results. Change-Id: Ie9dd157eed03031ba04ed59c363a45e246bbb001
2013-10-25connectivity commontools DatabaseMetaData: provide for getUDTs, tooLionel Elie Mamane4-1/+23
Change-Id: Id361ac34f400922893f6a906e4345eed2be1b2d2
2013-10-25janitorial: indentationLionel Elie Mamane1-1/+1
Change-Id: I0b571a9fe719c4f18f89638eb62434dd0813bd01
2013-10-24connectivity: deliver postgresql-sdbc.ini to INSTDIRMichael Stahl1-1/+3
Change-Id: I0317252e17b0ddadc5e4a1bebb0c7b21963d57fe
2013-10-23clean up some include guardsThomas Arnhold2-6/+6
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23convert code to use OUString::endsWithNoel Grandin1-1/+1
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist6-6/+6
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c