summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2015-02-12Remove unused fileStephan Bergmann
Change-Id: I2dddf5fe202f2ca2a84e2c4b45900cc9361b097c
2015-02-09Fuck that left-behind .lck fileStephan Bergmann
Change-Id: I6ceab61500397cae687fb4356e5dcb48f8090a48
2015-02-09Adapt file URL hackery to WindowsStephan Bergmann
Change-Id: Icee10aae97e9bcef7a3db7e966c1c4ef6780fc1d
2015-02-09dbaccess: use constructor feature for ORowSetMiklos Vajna
Change-Id: Iabb04fde096e8d0bb92b3d796310354df5985e9a
2015-02-08Typo: getQueryDefintions->getQueryDefinitionsJulien Nabet
Change-Id: Id7f9117efaac3d1c66db5858c220971a5f9adad8
2015-02-08Typo: esacpe->escapeJulien Nabet
Change-Id: I9f22dd49aeca5f01c8d582c54ca157f502a6ee1f
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ia89bfb9f4c51207d591e84bfe5e74cf0e7e8918b
2015-02-05tdf#89070 Table filter dialog: properly initialise OTableTreeListBoxLionel Elie Mamane
regression from .ui conversion: commit 5c72a213c7c4b588d0c1e0884ff2c46c22425faf Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Jan 21 14:41:16 2014 +0000 convert table filter page to .ui Change-Id: I7bfb7698e2a5303b492766fba564c7b9033bcc52 Change-Id: Ic7d41d64d4c15eabf7b7f83a17482c473154434a
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-05Resolves: tdf#88825 absent datasource causes exception / abortCaolán McNamara
::dbtools::ensureRowSetConnection throws on failure, and it can fail of course if the database doesn't exist its not generally useful to throw through a vcl event handler as that just leads back to the dispatch loop. Change-Id: I8e8f4cff06de5684f163ed1b658a8794f54a7df2
2015-02-05callcatcher: update unused codeCaolán McNamara
Change-Id: I540d192a361938cd4dca811e7170d762841662ee
2015-02-04callcatcher: remove some more recently discovered unused methodsCaolán McNamara
Change-Id: Ib01e444b24ad9288970066a47f3fcf3dbee1fc49
2015-02-03Fix PythonTest_dbaccess_pythonStephan Bergmann
Change-Id: Id1ab4496c5a8fa5bf97ac00e57cb89afe82b232b
2015-02-03copy test file to workdir to avoid overwritingLionel Elie Mamane
Change-Id: I2acc5cd6a57bb6a18f3f20177b3bcf2b8469a834 Reviewed-on: https://gerrit.libreoffice.org/14272 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-02-02callcatcher: remove some unused methodsCaolán McNamara
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
2015-01-28not all OrCriteria have three childrenLionel Elie Mamane
and some contain a column in the second child Change-Id: Ifd69758336233ed0233120b3315d4f33655fa994
2015-01-28Query Design: use correct name for columns that come from another query.Lionel Elie Mamane
Change-Id: I25b4ccdc2f50ba89687e1f4c871f286251a28e21
2015-01-28Use vector::dataStephan Bergmann
...in some places where it is obvious that it does not hurt that for an empty vector the obtained pointer is not necessarily a nullptr. Change-Id: Id5d66b1559ca8b8955d379bcdbfae6986ef46a51
2015-01-28CppunitTest_dbaccess_RowSetClones uses HSQLDB and thus JavaTor Lillqvist
Change-Id: Id0295fb45ecdf3472862d2d242a6e9e23da538ad
2015-01-27this seems to be the intent of the codeLionel Elie Mamane
and what it did prior to the OUString conversion Change-Id: I97aba7e51f56e77101f591d7e9849b7243d6c90b Reviewed-on: https://gerrit.libreoffice.org/14179 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-27fix damage done by OUString conversionLionel Elie Mamane
OUString equalsIgnoreAsciiCaseAsciiL and String EqualsIgnoreAsciiCaseAsciiL do *not* have the same semantics. This seems to be the intent of the code, and hopefully what it was doing before the OUString conversion. Change-Id: Ib1686254876f2b3105275a7f7c53eef1e20c39b6 Reviewed-on: https://gerrit.libreoffice.org/14180 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-26indentationLionel Elie Mamane
Change-Id: Ib33d2321e15934ec4f6eb8d0c566bbd0e6de8da7
2015-01-26tdf#70236 propertly recognise full Access 2007 URLLionel Elie Mamane
Change-Id: If1f4986cfffada6a6ab507296a54589bdd5404ff
2015-01-25tdf#73059 isDBReadOnly ensure connection before trying to retrieve itLionel Elie Mamane
Change-Id: I03f9b8ea72bd6906df61ccf05ead3670d7f90eb7 Reviewed-on: https://gerrit.libreoffice.org/14175 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-01-25when beforeFirst/afterLast, there is no value, so none to notifyLionel Elie Mamane
Change-Id: I599f8efae98e7cc7f65f47cec7f342c8b3dc8282 Reviewed-on: https://gerrit.libreoffice.org/14177 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-01-25that better be the caseLionel Elie Mamane
Change-Id: Ic0262292e207146c563b8830243a80104f94f903 Reviewed-on: https://gerrit.libreoffice.org/14176 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-01-25WaE: unused memberCaolán McNamara
Change-Id: I3fe4cc5ba4c40b54718338ac4c02c67979486feb
2015-01-25coverity#1266500 Unused valueCaolán McNamara
Change-Id: I81441568c4c5b864abbf1375b561a9389a72ef90
2015-01-25coverity#1266514 Useless callCaolán McNamara
Change-Id: I2a95e2faa7682934cd69264c82ed2618225be2a7
2015-01-24Typo: syncro->synchro (dbaccess)Julien Nabet
Change-Id: I9a6ed15d695763580148803dbeacfd210c5689f8
2015-01-24Fix 59288cdab6dc4b5a3fcaf94480d6ee19baa1e07dJulien Nabet
Change-Id: I7f3ae7814b3218a792f8989fd09d4b1642466216
2015-01-24Typo: ..syncronous..=>synchronous (dbaccess)(new)Julien Nabet
Change-Id: I6d0b6293850a8dd887e34fbf0a425f7024dd84a5
2015-01-24Revert "Typo: ..syncronous..=>synchronous (dbaccess)"Julien Nabet
This reverts commit 285654bf79f4e09d9ac0f6974db08df85446a500.
2015-01-24Typo: ..syncronous..=>synchronous (dbaccess)Julien Nabet
Change-Id: I97b57baf3777227c2d90b52a564d81b44e73a30a
2015-01-23'Ownership' is one word, as is 'relationship'Tor Lillqvist
Change-Id: I45c441f68ed5f20cfc87e34e7bfb529a30952f81
2015-01-22fdo#88475 add UnitTestLionel Elie Mamane
Change-Id: Icc2b80cfdcb3ff6a8a4fa8d1fb30a8ce9c865c95
2015-01-22RowSet: notify listeners when next() brings us afterLastLionel Elie Mamane
Change-Id: I6024352f9d7c68d8075d90b5954ec3ba662a06f0
2015-01-22Malarkey, the cache has been positioned by our caller and we do not move it.Lionel Elie Mamane
Even when called with _bMoved==false, that is when inserting row or when asked to move to the position we are already in. Change-Id: Icff5a18638f7e850db4678cdf82021f56f135d1f
2015-01-22use enum constant instead of hard-coded integer literalLionel Elie Mamane
Change-Id: Ide3f05cc66353787acb33b33340577624f25a8bc
2015-01-22fdo#88475 RowSetBase: reposition cache before interrogating itLionel Elie Mamane
This partially reverts: commit d20232a77565f46fedc0b556f4d50addff4d3559 Author: Lionel Elie Mamane <lionel@mamane.lu> Date: Thu Dec 6 13:22:06 2012 +0100 Don't force refresh when higher up code did not request it Change-Id: I0f415c96fc05c1d776d14885751aef020c42f4ae which did not take into account that the cache is shared with the clones. Finish the above commit more deeply, that is more aggressively avoid moving the cache if we don't need to: when we merely reposition the cache in case another RowSet(Clone) has moved it, no need to force a move and by that to force a refresh. Change-Id: I28d62673fdf10ee6507d38bb7c79c08e4b40902f
2015-01-21has_focus is not implemented, remove usesCaolán McNamara
Change-Id: Iebd4d28471d85696328cb7772fec0bc793493bf4
2015-01-20Some more loplugin:cstylecast: dbaccessStephan Bergmann
Change-Id: Iaa409f0f36df63235b38bf3a02dad22ad0762a26
2015-01-16remove unnecessary parenthesesNoel Grandin
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin
- remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb