summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)AuthorFilesLines
2013-12-16initial install-package-foo target for partial installsBjoern Michaelsen1-7/+7
make packageinfo target add uiconfig file translations add missing l10n config files add missing help files in packageinfo Reviewed-on: https://gerrit.libreoffice.org/6754 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Conflicts: helpcontent2 translations a2498a118e729276a78ef3a4eb43b5d0b302d326 9bb39bdd677af4be0da621370c51eb9e22ecc33f a7e654cdeffd832f51016ff51aa180fe3924ff4e 4ee41fdb600cb3a89da387dffe64e6a30192761c 349fb24a388775c58be7a326832b3fc0ec38180f 8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06 Change-Id: Id5f6f5c1f3e46df2d9033ccd5bbf2af6ab38a9e8 Reviewed-on: https://gerrit.libreoffice.org/6982 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-12-09fdo#72267 boolean_test is subsumed by general case "foo IS [NOT] bar"Lionel Elie Mamane1-1/+1
Change-Id: Ie9666b1c8878dd26593629b4b64d74b7448f98c1 Reviewed-on: https://gerrit.libreoffice.org/6974 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin2-3/+3
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6 Reviewed-on: https://gerrit.libreoffice.org/7008 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04fdo#70144 Don't reset Document's modified flag when inserting new table.Andrzej J.R. Hunt1-5/+3
It is unclear why the modified flag should ever be blindly overwritten hence we no longer touch the modified flag here. (This change appears to have no undesired side-effects.) Change-Id: I246eb7d84249794fa4d52fcd9b008d8340bbc82d Reviewed-on: https://gerrit.libreoffice.org/6632 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu> (cherry picked from commit 56d4f4b7b97eaf212a3bc6bdb1da767106e7224a)
2013-12-02fdo#72163 belts and suspendersLionel Elie Mamane1-2/+4
1) Do not dispose m_xComposer, might still be used by our m_pCache 2) Do not create a new m_xComposer if the previous one will do, so that we do not gratiously use a different one than our m_pCache. Change-Id: I6540c035c9159017c694b36e676721ec3e42db51
2013-12-02fdo#72163 after updating m_xComposer, command facets are not dirty anymoreLionel Elie Mamane1-0/+2
Else we dispose m_xComposer too eagerly; still used by m_pCacheSet. Change-Id: I205488465c19a356534df17b8a5e9a20ce6766c9
2013-11-25dbaccess: improve exception message when no driver foundMichael Stahl2-2/+3
Change-Id: I1734034e05324eb0d66fd52444b0521d4143bc12 (cherry picked from commit 7ad1c4356bfde3bf37830fa8e4b3267212473f79)
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin1-2/+2
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin1-2/+2
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin1-2/+2
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-19convert equalsAsciiL calls to startWith calls where possibleNoel Grandin2-3/+3
Simplify code like: aStr.equalsAsciiL( "%", 1 ) to aStr.startsWith( "%" ) Change-Id: Iee0e4e60b0ae6d567fa8f72db5d616fffbec3c00
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin10-14/+14
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-17missing translatable="yes" attributesAndras Timar1-1/+1
Change-Id: I138c8f245e4bfb2f23dd4cd8a629d8e5e3aac56b
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-11/+14
- 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-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann3-3/+0
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-1/+0
Change-Id: I9cfbb66dbfac02faa478a4f38982962b0c6f3c3d
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-9/+0
Change-Id: If7618661da2b6c919ec05abace03723cb961c741
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-6/+0
Change-Id: I6b4b3f8c272dcd5663920310e40647d7730c54d5
2013-11-14remove unnecessary sal_Unicode casts in DBACCESS moduleNoel Grandin10-24/+24
Change-Id: I4c4ab5d672e994b1e8e3beac027d3f4e8f700714
2013-11-13Pass Document directly to Driver for embedded databases.Andrzej J.R. Hunt1-1/+6
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-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin6-11/+11
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 Grandin1-2/+2
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 Grandin4-8/+8
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 Grandin2-2/+2
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11remove unnecessary use of OUString constructor in DBACCESS moduleNoel Grandin39-141/+137
Change-Id: I831a6506211be30c5b743c20724904c903c5b3c0
2013-11-09factorise code; make DBTestBase a UnoApiTestLionel Elie Mamane2-45/+28
Change-Id: I29c131f60caa36c464d99b9b86a59e2e16ce94e3
2013-11-09indentationLionel Elie Mamane1-1/+1
Change-Id: Idec97e6b9269cb481428bef8b95aa112197fe866
2013-11-09make firebird-sdbc an experimental featureLionel Elie Mamane2-0/+11
Change-Id: I0f2453e23d18597cfe1ad2a4cd4902b15f0a8f7d
2013-11-09fixup the fixup to dbaccess macros_testLionel Elie Mamane1-1/+1
Change-Id: I7cc8b6bd3778158e7c93545bbdcf35cccf986188
2013-11-09fixup dbaccess macros_testLionel Elie Mamane1-0/+4
Change-Id: Iefb12d8b6fe8b5c9795220f8c7ff90f6ecc92576
2013-11-09nitpicksLionel Elie Mamane1-2/+2
Change-Id: I190a629a8c76f98b54295eebcf712b4c5b26ecff
2013-11-09deliver can use hardlinkLionel Elie Mamane1-1/+1
Change-Id: Ia04eedc6375748505c954e2315a0c5af7afae84f
2013-11-09fixup and enable dbaccess macros_testLionel Elie Mamane2-7/+6
Change-Id: Ic5599df7a2ad7f2f3a9f2794b16ef0a4ab698b06
2013-11-09UnoApiTest don't require CalcLionel Elie Mamane4-58/+10
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 Mamane1-5/+1
It overrides everything that UnoApiTest does anyway. Change-Id: I531b2245626cbfd8d13a48a710d409e30ba2d20a
2013-11-07Add "New Database" button for Firebird file driver dialog.Andrzej J.R. Hunt7-3/+73
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 Bergmann2-13/+0
...the code doesn't make much sense that way. Change-Id: I506e37b44924701255431f6d20d4610f7f52287d
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin3-7/+7
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-05fill in nNumPrecRadixLionel Elie Mamane3-0/+12
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 Grandin4-14/+13
Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-11-05update pchThomas Arnhold1-0/+1
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-05dbaccess: cleanupThomas Arnhold13-31/+20
* remove an external guard * fix some include guards Change-Id: I4e5b5fc5c50acfd81321377e7956e33c838edeba
2013-11-05fixincludeguards.sh: dbaccessThomas Arnhold317-925/+925
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin5-7/+7
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin6-27/+19
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 Grandin2-4/+4
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2-4/+4
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 Stahl1-0/+1
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
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 Lillqvist1-4/+4
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c