summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2013-11-09factorise code; make DBTestBase a UnoApiTestLionel Elie Mamane
Change-Id: I29c131f60caa36c464d99b9b86a59e2e16ce94e3
2013-11-09indentationLionel Elie Mamane
Change-Id: Idec97e6b9269cb481428bef8b95aa112197fe866
2013-11-09make firebird-sdbc an experimental featureLionel Elie Mamane
Change-Id: I0f2453e23d18597cfe1ad2a4cd4902b15f0a8f7d
2013-11-09fixup the fixup to dbaccess macros_testLionel Elie Mamane
Change-Id: I7cc8b6bd3778158e7c93545bbdcf35cccf986188
2013-11-09fixup dbaccess macros_testLionel Elie Mamane
Change-Id: Iefb12d8b6fe8b5c9795220f8c7ff90f6ecc92576
2013-11-09nitpicksLionel Elie Mamane
Change-Id: I190a629a8c76f98b54295eebcf712b4c5b26ecff
2013-11-09deliver can use hardlinkLionel Elie Mamane
Change-Id: Ia04eedc6375748505c954e2315a0c5af7afae84f
2013-11-09fixup and enable dbaccess macros_testLionel Elie Mamane
Change-Id: Ic5599df7a2ad7f2f3a9f2794b16ef0a4ab698b06
2013-11-09UnoApiTest don't require CalcLionel Elie Mamane
There is no reason for the generic UnoApiTest to require Calc specifically. Calc tests can/should instantiate a Calc instance. We can create a CalcUnoApiTest for that that inherits from UnoApiTest; however this does not seem necessary, "make sc.clean" succeeds. Anyway, the ScGlobals::ensure mentioned in the comment does not seem to exist. This allows us to eliminate some code duplication in tests that were reimplementing UnoApiTest minus the Calc instantiation. Change-Id: I37bea9df41e3960df0458fe689cf6c046a243617
2013-11-09dbaccess DialogSaveTest not a UnoApiTestLionel Elie Mamane
It overrides everything that UnoApiTest does anyway. Change-Id: I531b2245626cbfd8d13a48a710d409e30ba2d20a
2013-11-07Add "New Database" button for Firebird file driver dialog.Andrzej J.R. Hunt
Firebird is able to create new databases from within LO hence we need to add a new property to database configration files. This allows use of a db creation dialog (which is opened by using the "New Database" button) in order to allow creating new dialogs (in addition to being able to open existing databases using the "Browse" button). Conflicts: dbaccess/source/ui/dlg/ConnectionHelper.hxx Change-Id: I6174f3b7d9032c48286b49b5ddf125cd3b428303
2013-11-06Remove #ifdef TIMELOG'ed SAL_INFOsStephan Bergmann
...the code doesn't make much sense that way. Change-Id: I506e37b44924701255431f6d20d4610f7f52287d
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-05fill in nNumPrecRadixLionel Elie Mamane
Wrongfully removed by commit 808052a13947c9841ce5c9e40860c48bbfbf3434 Date: Tue Jun 20 02:21:13 2006 +0000 which only wanted to make the code warning-free... But also disallow radix 1 (which does not make much sense) Change-Id: Id8e313301fa6d5e9643d76865a62cc933999a63e
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-05dbaccess: cleanupThomas Arnhold
* remove an external guard * fix some include guards Change-Id: I4e5b5fc5c50acfd81321377e7956e33c838edeba
2013-11-05fixincludeguards.sh: dbaccessThomas Arnhold
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
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 Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
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-25stop looking for Jar files in solverMichael Stahl
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-23convert code to use OUString::endsWithNoel Grandin
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 Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22missing headerCaolán McNamara
Change-Id: I84aebf0e107add76dfb293b3a34a30705fd0b3a6
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-17fdo#54938: Adapt svtools and comphelper module ...Marcos Paulo de Souza
to use cppu::supportsService and other pieces. Change-Id: I16893b3d31a8055acd214ff23d01e63d38fe0826 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-16make sure value passed to updateBoolean is treated as a booleanLionel Elie Mamane
Change-Id: I69549fd8ab95cf92ccb06fd9aed1b9dba2935d7d
2013-10-16when reading a bool from a database, treat is as a boolLionel Elie Mamane
This in particular allows recognition of strings "true" and "false". Change-Id: I590a5357206e4fb0b92b78b8ee4655e445e6f152
2013-10-16[API CHANGE]: PreView -> Preview, including .uno:PrintPagePreView.Jan Holesovsky
Will be .uno:PrintPagePreview going forward. Change-Id: Ie5a35467917a54a60dab9eaacf0690c9df27e6f6
2013-10-16CID#1000838 Fix overrides' exception specificationsStephan Bergmann
Includes also fixes for CID#1000839 CID#1000840 CID#1000841 Change-Id: I4c7d0bbaec59357af722353bdf947f5629dde1b0
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-12Test _WIN32 instead of UNX as it is Win32 that's different hereTor Lillqvist
Change-Id: I05e93ef13523a4729c46c9dbf36657d7288c62e6
2013-10-11CID#1103679 calm coverity re invalid iteratorsCaolán McNamara
Change-Id: Iad07aa59c6016752ec9467945d737380d214c3c0
2013-10-10CID#1103666 check for NULLCaolán McNamara
Change-Id: Idb8cf3c80422d38c271dc2cc8176ff231cf64025
2013-10-09Improve ErrorCodeIOException messagesStephan Bergmann
...and clean up some includes. Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-07html export: 4.0 needs type attribute for style tagThomas Arnhold
Change-Id: Iaa076f639a4da564945385ee616d346c4f0d0889
2013-10-07html export: use only HTML 4.0 for exportThomas Arnhold
Change-Id: I36d8ddf7b8b38e27686c6cc51ef2a676394f97fb
2013-10-04Initial fix for fdo#69915Jesús Corrius
Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
2013-10-03HSQLDB unit test doesn't depend on firebird.Andrzej J.R. Hunt
Change-Id: I393381984eded19bcd0712c824e4ec0798e60321
2013-10-02Spell "indices" correctlyTor Lillqvist
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02janitorial: more const, commentsLionel Elie Mamane
Change-Id: I5366840ab67fdf89575e890a0d97602b8e78f71a
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I9379b66c8ad5bffeebd60a2d38fe466b6856e613
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I1f3b4c25176db53fc3b827e9514ff497a33f419c
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I62dbc62446dbdcb25c7a221d88f59862333e5a4d
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I805b898faaae631d047ec82e7139c6d6ccaea3b1