summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
2013-05-07Base: fix incorrect field removal in criterion inside query design viewOlivier Ploton1-2/+7
Includes following master commits: commit 6536d0eb4f56e64c9b74b358642e3ee1e39353e5 Author: Lionel Elie Mamane <lionel@mamane.lu> Date: Tue Apr 23 06:44:57 2013 +0200 reword comment commit 5143e162f81ec64db4ed2b11a3a79183c4901c79 Author: Lionel Elie Mamane <lionel@mamane.lu> Date: Tue Apr 23 06:44:42 2013 +0200 isEmpty() instead of getLength()==0 commit f0c38b6355333c0bbb02e52a732f04ab0d519ecf Author: Olivier Ploton <olivier.ploton@univ-tours.fr> Date: Wed Dec 12 22:04:38 2012 +0100 Base: fix incorrect field removal in criterion inside query design view Change-Id: I2fedae672c24a269fca3dfc1bacc66fd53fc61af Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-15pgsql-sdbc: ResultSetMetaData::getTableName return tablename (without schema)Lionel Elie Mamane1-10/+1
Change-Id: I319ba91045fa43922d7b694a4f13322295590c81 Reviewed-on: https://gerrit.libreoffice.org/3343 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-15pgsql-sdbc: set tablename even if we do not know the schemaLionel Elie Mamane2-3/+13
Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f Reviewed-on: https://gerrit.libreoffice.org/3342 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-15fdo#61142 mixup between size and lengthLionel Elie Mamane1-4/+8
Change-Id: Ia2903d5139378e97bb2e8d00ccb2c213d3e1dee6 Reviewed-on: https://gerrit.libreoffice.org/3385 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-02Fix debug buildFridrich Štrba1-1/+4
Change-Id: I1a4db30f4cc33ee99b48a25db6e6fcd600d00ffd Reviewed-on: https://gerrit.libreoffice.org/3168 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-28coverity#982290 Logically dead codeJulien Nabet1-2/+1
Change-Id: Ia684369faa5fd0eb854d204ac7e8dbf74f032606 Reviewed-on: https://gerrit.libreoffice.org/3067 Reviewed-by: Christoph Brill <egore911@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2013-01-25OSQLParser::RuleIDToRule should not silently change s_aReverseRuleIDLookupLionel Elie Mamane1-1/+12
Change-Id: I2b408a23162b1200bbcd530be7acb42435388b04 Reviewed-on: https://gerrit.libreoffice.org/1826 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-12-25fdo#58693 ODBC SQLGetData returns byte length, not data sizeLionel Elie Mamane1-1/+3
Change-Id: Icd2f6503d9452c36f858180e4193af993ae7e288
2012-12-25ODBC: binary data is not null-terminatedLionel Elie Mamane1-10/+7
Change-Id: Ibc90fabf7534b537948c12de76b611daf5ca9808
2012-12-11When parsing does not give a table name, take it from the columnLionel Elie Mamane2-13/+16
Change-Id: Ie8a2c7e473d717cc22c51205dd8cdc59934de8b1
2012-12-10Fix previous commitStephan Bergmann1-4/+2
2012-12-10Add missing breaksJulien Nabet1-0/+2
Change-Id: Icaa08718c37c2c8823a21b6a3ae4ef8b62b52550 (cherry picked from commit 44b0bf91df1af9920b1c22a2f54bd70c9c44231b) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-07no SAL_CALL for internal utility functionsLionel Elie Mamane1-2/+2
Change-Id: I789f8419a8020b8f5bc7a7a54639b076c1524e48
2012-12-07no SAL_CALL for internal utility functionsLionel Elie Mamane2-9/+9
Change-Id: I7b945946d5e45d5518ab48fc8fe6cd66fba8d040
2012-12-06fdo#47520 ODBC: overhaul data fetchingLionel Elie Mamane2-248/+336
fetched data in the current row is always cached. This avoids trying to fetch the same data several times, which is tricky in several scenarios in ODBC. Numerous cleanups in passing. Change-Id: I17246aa614276e141161a64c716881242c559310
2012-12-06commentsLionel Elie Mamane1-0/+2
Change-Id: I1702ea167ac6d23b1bdfcda2ea1ad7815e4474b9
2012-12-06Refuse to set fetchSize > 1, the rest of the code is not prepared for itLionel Elie Mamane1-1/+18
Change-Id: Id49a9db96cdb0aaf901a00a5439b36c1d0386c41
2012-12-06comment meaning inverted wrt to reality in codeLionel Elie Mamane1-1/+1
Change-Id: I9974921bd62bf4f57e13ffb681b2a90e1403c90b
2012-12-06setBound(true) is the defaultLionel Elie Mamane1-1/+0
Anyway, setting bound only on the *last* column we are going to fetch does not make sense. Either all of of them or none. Change-Id: I54e8e6b7d33863d1662167b370739cb7d39c0bc4
2012-12-06janitorial: const annotationLionel Elie Mamane1-1/+1
Change-Id: I6ac4f2700e15bc53a9a666aa5e2222748618dbf1
2012-12-06janitorial: alignmentLionel Elie Mamane1-1/+1
Change-Id: Ibfe513ac8fbcd982784110ac1d3fe84061228bf9
2012-12-06ODBC: clean up our use of SQLGetDataLionel Elie Mamane1-123/+111
Change-Id: I813efb928a88eb0a78faaba4ba0d4186c8a9413c
2012-12-06stylistic: use sal_Int8 rather than char for binary dataLionel Elie Mamane1-1/+1
Change-Id: Ic3c7d8d2a27e1835513790523ddd3bdc8f7c2101
2012-12-06const-ify arguments of some OTools function membersLionel Elie Mamane2-12/+12
Change-Id: Ie19a5277a9b847a9e440d137cf7ee18943c77832
2012-12-06Variable-sized datatype -> cannot predict length of needed bufferLionel Elie Mamane1-8/+7
Change-Id: I29b8c0352b06fb86e924aaf8108de6835eb9cb89
2012-12-06comment on our usage of SQLGetData extensionsLionel Elie Mamane1-0/+7
Change-Id: I9580fa4828db8f19b84ce8f88f8cbc7ab72985b6
2012-12-06statically assert our own ODBC_SQL_NOT_DEFINED does not conflict with SQL_UB_*Lionel Elie Mamane1-0/+5
Change-Id: I2f571e06fd498ebe9378105030215ccb134bf974
2012-12-06statically assert that ODBC uses UTF-16Lionel Elie Mamane1-0/+1
Change-Id: I13a8a152d7bfba351632e50d440fba8af375bec3
2012-12-05Revert inadvertent chmodStephan Bergmann1-0/+0
Change-Id: Ia433a842feb1d4bf2e2398de61144e45ee33d0da (cherry picked from commit ffc75b57349418db21ebf71086a7750d38f1280b)
2012-12-05WITH_MOZAB4WIN=NO still needs mozbootstrapStephan Bergmann1-0/+4
Change-Id: I9b9cd072c885387988492a6a945a9ca099635ecf (cherry picked from commit e4bbf6d3cfda9bf879a6c2b69b7b7d767f60b991)
2012-12-04First fix for fdo#56902Mathias Michel1-5/+1
Restrict moz to windows, and build vars also impacts nss, connectivity Change-Id: I27aae1398f3f8a4d046c2c7805d64bc7523c7282 Reviewed-on: https://gerrit.libreoffice.org/1233 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-04No member named 'getStr' in 'rtl::OStringConcat<rtl::OString, rtl::OString>'Tor Lillqvist2-3/+3
Change-Id: I6e2570569d8f8b6ae55d66e2d99fe1ac4d69a7bc
2012-12-03one more strange mingw string problemLuboš Luňák1-1/+1
For some reason neither OUString(aValue) nor (OUString)aValue work.
2012-12-03fix build with fast string operator+Luboš Luňák1-1/+1
Change-Id: I38688ccef4c307786b7287b47f0607c67400defc
2012-12-03catch exceptions by (const) referenceLionel Elie Mamane1-2/+2
Change-Id: Ie42b169437c89d0d94f6749bee21301fa44b98cf
2012-12-02Catch all exceptions to respect specificationLionel Elie Mamane1-1/+13
In particular, getMaxRows() can throw SQLException Change-Id: I1f49afe8258d98000bff34e18f4d98967c46e1b3
2012-12-01Lacking "/" at the end of .icedoveJulien Nabet2-2/+2
Change-Id: Iabdce8e6032889034e265d3df331452b273e5ed1
2012-11-30fdo#57696: Missing adaption of OSDBCDriverManager to XDriverManager2Stephan Bergmann1-5/+3
Change-Id: Icce6ab9d6d815e9aff4980fadab71a4197593e0e
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens2-3/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin1-3/+3
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist1-11/+0
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28fdo#46808, use service constructor for sdbc::ConnectionPoolNoel Grandin7-28/+31
Change-Id: Id12226af5e537b1eeacbb062ad937a3551e245c0
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin6-26/+20
The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-28fdo#46808, use service constructor for ucb::SortedDynamicResultSetFactoryNoel Grandin1-3/+3
Change-Id: I8eefa129a481e47659d488cbe57f9624d3cdb19e
2012-11-26Assert that length of bookmark has not changed after editing lineLionel Elie Mamane1-0/+2
TODO actually handle such a change Change-Id: I1cd6b92a44d50e95c5d1408a01962d49a0ab3e83
2012-11-25cppCheck: remove dead assignment and dead variablesjailletc361-1/+0
Change-Id: I3f0eae93be7f362ff70f8a544c46cd500d2ca50c Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1153 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-11-25Implement MQueryOp::RegExp functionalityStephan Bergmann2-3/+10
Change-Id: I9daf60f42dcba4e4c6444ccd8ad94258424621fe
2012-11-24use LanguageTagEike Rathke1-1/+1
Change-Id: I01b968c4abe705b1694632377d4bf21fae1d9cd6
2012-11-24fdo#51304 Remove @author annotationJosé Guilherme Vanz1-5/+0
This commit removes @author annotations, some templates comments. It has some cleanup. Change-Id: I995ba7b06d661fcec17f26c368d9449c0bf5ab45 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1146 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-23some i18n wrappers with LanguageTagEike Rathke2-3/+4
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d