summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
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
2013-10-21fdo#68849 add some header guardsThomas Arnhold1-0/+6
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f Reviewed-on: https://gerrit.libreoffice.org/6364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-20Revert "fdo#68657 bool->string conversion to 1/0, not "true"/"false"Lionel Elie Mamane1-6/+1
This reverts commit b89fb0d03ead22f023f367c9a9d046d3d41ba1cf. It was intended for stble branch only; in master, we let the incompatible change go through, but we have introduced a work-around to get the old behaviour again.
2013-10-20an ORowSetValue constructed from a boolean is a booleanLionel Elie Mamane1-1/+1
as opposed to a bit Change-Id: Ife1c8cef5ca1266e161da3a9190e744dd70ec2fd
2013-10-20ORowSetValue: adapt test to new behaviour, extend test moreLionel Elie Mamane1-7/+85
Change-Id: If28046653935051303fd487d87655bacbddf4644
2013-10-20fdo#68657 bool->string conversion to 1/0, not "true"/"falseLionel Elie Mamane1-1/+6
This matches what OO.org / older versions of LibreOffice did, and which was inadvertently changed in 2bd856e6 Reviewed-on: https://gerrit.libreoffice.org/6275 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de> Conflicts: connectivity/source/commontools/FValue.cxx Change-Id: I1d45ea975a096c599a996caafc41e4aa06d35fcd
2013-10-20Extend test to cover changed toString() conversion for bool typesDavid Ostrovsky1-0/+24
Change-Id: I8becffd0c2f12c17495872a99192c7679380d05f
2013-10-17per SQL standard, BIT is 0/1 but BOOLEAN is true/falseLionel Elie Mamane1-0/+2
Change-Id: If088cd33c19bccddbf145a44d19bf37adf638f3b
2013-10-16respect reference values in checkboxesLionel Elie Mamane2-1/+3
Change-Id: Ifd0953f779f530af6b190425794f009a891f0afb
2013-10-16janitorial: bool is bool, not sal_BoolLionel Elie Mamane1-2/+2
Change-Id: Ia6fbde0521d503c3d774ebd265097804d375ed3b
2013-10-16string->bool conversion recognise "1"/"0" additionally to "true"/"false"Lionel Elie Mamane1-2/+2
since that is what the conversion in the other direction recognises. It also recognises the "true"/"false" written by LibreOffice versions affected by fdo#68657 Change-Id: I213c23a19e4857905da93eeb2be1b9714215594a
2013-10-15update pchThomas Arnhold2-0/+3
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-12Bin bogus use of UNX (in not compiled test code)Tor Lillqvist4-20/+2
Change-Id: Idef7344e215e9b58e1449fbf71f8a64d0000f8c3
2013-10-09fdo#54938: Adapt connectivity module to use cppu::supportsServiceMarcos Paulo de Souza34-271/+88
Change-Id: I885b4c7a60ff51d44138c4f8a56a584c38a9804a Reviewed-on: https://gerrit.libreoffice.org/6172 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-07CID#738572 uninitialized membersCaolán McNamara1-1/+2
Change-Id: Ie3614d86e27aab67cfe68bea76de30b775173fb3
2013-10-04fdo#64741 Thunderbird mork driver: implement collected addressesDavid Ostrovsky4-28/+47
Change-Id: I5a8516a6cf4bd71cea2be916d5a7fcfb16b4e749 Reviewed-on: https://gerrit.libreoffice.org/6020 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-10-02-Werror,-Wunused-variableStephan Bergmann1-2/+0
Change-Id: I3ad7139190758e86cadebf9555a838dbaddbbf3e
2013-10-02Replace deprecated std::auto_ptr with boost::scoped_ptrStephan Bergmann1-3/+4
Change-Id: Ic55d1a8b14ec0355a6289007d954e89cd41c7486
2013-10-02Fix warnings in sqlflex.l, sqlbison.yStephan Bergmann2-6/+2
Change-Id: I6c6b9452014940e09f8f4b7466c5a5f562c9fff5
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-14/+0
Change-Id: Ic4edbbc0bf74887ab9624e4551b54ecbe3538108
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-11/+0
Change-Id: I07351213c3a8c215a3c02f263f872cee8f7c7cfd
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-1/+1
Change-Id: I2cf98c691fb11be340ff973a51477c56d5d97d50
2013-09-25drop worthless _VECTOR_/_MAP_ header guardsCaolán McNamara10-19/+1
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara5-4/+6
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-23Use LO_JAVA_DIR for HSQLDB classpath.Andrzej J.R. Hunt1-3/+2
This is needed to allow usage of HSQLDB in a unit test in solver (in conjunction with the following patch which adds LO_JAVA_DIR to solver's unorc). Change-Id: Ia3757b61d4ba0b2353e0d33290938cea40551d3a Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-09-20Update Firebird-File driver config to allow creating new dbs.Andrzej J.R. Hunt1-12/+9
Change-Id: I34abaf80e82cb1d3cd51c9418b15351e9fdfc2fe
2013-09-20Implement creation/loading of external firebird .fdbs.Andrzej J.R. Hunt2-2/+9
Change-Id: I61186189d791e54fb096505abd2fa7ac248035e8
2013-09-19Cleanup ResultSet exceptions.Andrzej J.R. Hunt1-4/+10
Change-Id: I77e4fd5fffe45446050f8a1dfbcc8cc27290c786
2013-09-19Cleanup exceptions in PreparedStatement.Andrzej J.R. Hunt1-13/+10
Change-Id: Ice11ec8131a00335db48a05661bbe0285bb53fea
2013-09-19Set sane default for type.Andrzej J.R. Hunt2-4/+4
Change-Id: Ib63e6abd7b378671d1e01bf9357dd811ae88fc40
2013-09-19Move type conversion into template.`Andrzej J.R. Hunt2-43/+32
Change-Id: I7b646673eacf2abbac8a2bcfa744f840ff344c84
2013-09-19Use conversion for Byte/Bool.Andrzej J.R. Hunt1-10/+11
These are both non-native to firebird, hence always have to be converted from whatever data we have. Change-Id: I6e6843d95ee4f5cf0cd5953251796150f325f800
2013-09-19Throw sane exception when wrong type used in PreparedStatement.Andrzej J.R. Hunt1-4/+10
Change-Id: Ie9577ed021930c56f3270aa30306d89365c1b3b1
2013-09-19Don't throw unnecessary exception.Andrzej J.R. Hunt1-6/+1
Even an empty ResultSet can be valid, and no other drivers do this. Change-Id: Ie3aee718f0187d039dbd0c53fc32a71be4a1d9e9
2013-09-19Implement implicit type conversion in ResultSet. (firebird-sdbc)Andrzej J.R. Hunt2-32/+139
Change-Id: I9faf9752556b7e0769d3a353e393924f5a1edb63
2013-09-18Remove null indicator for type checking. (firebird-sdbc)Andrzej J.R. Hunt1-2/+2
Change-Id: I3f693f5662f3022323c7ec726c9d7a506ce02185
2013-09-18Add some type checking to ResultSet.Andrzej J.R. Hunt2-41/+61
This is in preparation for complying with the API by allowing implicit type conversion. Change-Id: I5e52fdc2f3562f806d7f9fba5d558ece4bd182ac
2013-09-16Make Java-based connectivity drivers work with jvmfwk "direct mode"Stephan Bergmann2-2/+29
...so they work from CppunitTests (which make use of that "direct mode"). Change-Id: I92b72fb708ac1868644111b208f92ac58610ed11
2013-09-13translate german comments in sqlbison.yMichael Stahl1-12/+8
Change-Id: Ic573e5ae63fdfb3d4ff79eb6d81fe0f4b058d582
2013-09-13fix Apple g++ 4.2.1 unused function warning in sqlbison.yMichael Stahl1-18/+31
Change-Id: Icc55a6b485341e3be0d3e96f51f41a2bba1629c1
2013-09-13fix Apple g++ 4.2.1 warning in DBTypeConversion::toDateTimeMichael Stahl1-1/+1
Change-Id: I467494c1731999c50883f96301b00a3dc1282c73
2013-09-13setting a table name on an expression/function call makes no senseLionel Elie Mamane1-9/+5
Change-Id: Id30805f09bc359c6f66d87f050427c0e586ec93d
2013-09-13remove an arbitrary level of nested parenthesesLionel Elie Mamane1-1/+1
not only one. Change-Id: I1f611dda6a98fb6244409c0cd1fc87fc9dfaa8c3
2013-09-13Don't clobber argument on failureLionel Elie Mamane1-1/+12
Change-Id: I709305d4ec3c37d3fc1c2c911551174f8cfbb883
2013-09-12Fix throwFunctionNotSupportedException.Andrzej J.R. Hunt1-1/+3
Would have caused eternal recursion, probably was intended to use throwGenericSQLException or similar, but throwing the correct exception is probably cleaner anyway. Change-Id: Ic4afa623bfcd57eb68ef6cfbf737862fd40eaaa2
2013-09-12Explicitly wrap char as OUString.Andrzej J.R. Hunt1-21/+21
Currently this causes some (all?) gcc to break. Change-Id: If6d802f5a763904d06107fa99731dd4512f18052
2013-09-12Remove sal_char* from dbexception and some cleanup.Andrzej J.R. Hunt1-74/+37
Change-Id: I81909e4542bd5e8d1f8ae182c3c17f9bbea9745d Reviewed-on: https://gerrit.libreoffice.org/5881 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-09-12Update implementations of ColumnLocate::findColumn to throw on invalid column.Andrzej J.R. Hunt16-68/+95
Change-Id: I7a9354ecd35a70a005c6c50e38d27de9b33332bd Reviewed-on: https://gerrit.libreoffice.org/5922 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>