summaryrefslogtreecommitdiff
path: root/mysqlc
AgeCommit message (Collapse)Author
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-04gbuild: fix gb_Extension_use_default_descriptionMichael Stahl
Passing a target local variable like $(LOCATION) to gb_Extension_add_file does not result in an actual dependency on the file. Change-Id: Ide77ab81f19877267056bf8e50d69c9cfedcda79
2013-10-19fdo#70496 revert to using libmysqlclientLionel Elie Mamane
Change-Id: I5b98b5e7840e4f1c6005aee0c1f43ef814ecf77b
2013-10-16cleanupThomas Arnhold
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-11Extension shared library components must not use the "prefix" featureStephan Bergmann
...at least no non-bundled ones, see 9dfcee9266c9769153444cdcd4ab0e6e636c3eb6 "Not being able to honor a 'prefix' is a rather hard error" and the description there how that can lead to a crash when using mysql-connector-ooo.oxt: "'rm -rf instdir/*/share/extensions/mysql-connector-ooo', 'instdir/*/program/soffice workdir/*/Extension/mysql-connector.oxt', install the [extension] per-user, then 'File - New - Database - Connect to an existing database: MySQL - Next >> - Connect directly - Next >> - Database name: foo - Server / Port - Server: bar - Next >> - Test Connection', crash." This is a partial revert of cd79d51420b90117d0f3e1d5f3cdf9187bd61b88 "prefix all component_getFactory methods." Change-Id: Ia7a6272eb0597e3b3bbf4ab333174b3232448539
2013-09-12Update mysqlc's ColumnLocate::findColumn to throw for invalid column.Andrzej J.R. Hunt
(This is to comply with the updated API specification.) Change-Id: I4542fecc78a6e64011276dafc72c31d5533af1ab Reviewed-on: https://gerrit.libreoffice.org/5923 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-30ENABLE_MARIADBC Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud
Change-Id: Icd6f385a8c9fcb67d2e448580e66ab97f63a99a6
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-14Some more toInt32 clean upStephan Bergmann
Change-Id: I4f7911cb283d67e7c7b883d629b39588e96f32c2
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-14initialized with plain 0, instead of sal_False/falseTakeshi Abe
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-15prefix all component_getFactory methodsPeter Foley
Change-Id: I954176fdab9103125444dd2fb397673406f7aff9
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-14Link only what one needsFridrich Štrba
Change-Id: I953ee0e96f704e3900238751b29fa2ed6f4482e9
2013-03-14Build thread-enabled internal libmariadb on UNXFridrich Štrba
Change-Id: Ie0968b0802f5cbd9dc75906c4930586fb46d99ca
2013-03-11No need to copy any library from any pathFridrich Štrba
Change-Id: Iac0b88ea48b3ed7b989d38b0473f6993d899f430
2013-03-11Do not try to dlopen a static internal libmariadbFridrich Štrba
Change-Id: Ib624089418e22c050e951acc4c487572c7e0ea25
2013-03-10Adapt to removed MYSQL_LIBStephan Bergmann
...from cad422afb7a4dcd7592c502641b41a832703e536 "Adding libmariadb module for internal mariadb (work in progress)." Change-Id: Iba803a26be6f62589191122d4defc959cb3248eb
2013-03-10oopsRene Engelhard
Change-Id: I05efc60a6108a899db006df3a8c43bdec9c5850a
2013-03-10more s/MYSQLC/MARIADBC/ to make mysqlc actually build...Rene Engelhard
Change-Id: I286c2100c33371d5ed1ac0be3ae6393dabe6c4ef
2013-03-10adapt config_host.mk.in/scp2/mysqlc to MARIADBCRene Engelhard
Change-Id: Id60fc25405a3879e64bd5f2ff637c655ba7dfc78
2013-03-07Make gb_Extension_use_default_description/license explicitStephan Bergmann
...as a prerequisite for gbuild'ifying desktop/test/deployment/passive/, which builds a test extension that does not match those default description/license settings. Change-Id: I200ff0ceb9750ed4b1c187305f10469f789d29cb
2013-03-06Adding libmariadb module for internal mariadb (work in progress)Fridrich Štrba
Change-Id: If2cf9ff21120e29a149903e8eab849d97fa0c2c9
2013-03-06Switch from libmysqlc library to mariadb-native-clientFridrich Štrba
Change-Id: I867918bbb61b289e1ad8752e6f46705af6e85b7c
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-01fdo#60907 Use *one* variable for the MySQL library fileLionel Elie Mamane
as opposed to two with different values, which leads to trouble Change-Id: Ic603105187b6078bd46d6c253410af28e188c70f
2013-03-01mysqlc/README was *very* out of dateLionel Elie Mamane
Change-Id: I3a50ec19d42aa08d1346c9d0bdc1045f4ce88cd0
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-26mysqlc: disable fast strings to remove dependency on LIBO_UDK_4.1Michael Stahl
Change-Id: I0891f1e45f02b2d031903d85ad3ebe3df561529d
2013-02-24fdo#60907 no space in front of MYSQL_LIBLionel Elie Mamane
Change-Id: If477ae65eb93d8eb944c345853c13ca0d1826762
2013-02-20fdo#60907 export libmysql file name'David Tardon
Change-Id: I294301e0f87924ac89c16c99f0549c98a7ea7da5
2013-02-07mysqlc: bump version number to 1.0.2Michael Stahl
Also bump minimum OOo version to 3.3 because of passive registration. Change-Id: I6798f728d19adcc5d30e7d9fe4ae3c62c18876a2
2013-02-07mysqlc: remove component_writeInfo with passive registrationMichael Stahl
Change-Id: I8ffa5ba2bbbd15533ea5097e0b018be3766ecc8b
2013-01-28mysqlc: tweak gbuild conversion:Michael Stahl
- the mysqlc library did link against the mysqlcppconn only when a SYSTEM_MYSQL_CPPCONN is used - mysqlc is an EXTENSIONLIB, mysqlcppconn is PLAINLIBS_NONE - one N was missing in Extension makefile, and use gb_Extension_add_library to put in mysqlcppconn - manifest.xml, description.xml: update PLACEHOLDERS Change-Id: If45714f81056a6c1a4cb3380b50cc3dcc0443bb8
2013-01-28convert mysqlc to gbuild and add to tail_buildPeter Foley
Change-Id: Ia64bc884ed04a5d5652fb743f543a39e6b6bbcf2 Reviewed-on: https://gerrit.libreoffice.org/1901 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-16Get rid of GetVersionInfo and checkdllTor Lillqvist
With gbuildification neither was actually used anyway, as far as I could see. Change-Id: I00d914e6571aed3110226f91ac1685a838031c65
2012-12-25Get rid of (most uses of) GUITor Lillqvist
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-18Do not define CPPCONN_LIB if using system versionTomas Chvatal
This is used for dlopen internal library only anyway and breaks when building in strict-multilib environment. Change-Id: I9dea9e37161aab17ab605bec33482ddb48beeb46
2012-12-15fdo#58156 use WITH_LANG_LIST instead of WITH_LANGAndras Timar
Change-Id: Ie87469d7553d1dcad49348c42d3cca99a43d709c
2012-12-12Remove xml2cmp leftoversStephan Bergmann
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-11-22Use xcrun when available to run install_name_toolTor Lillqvist
This hopefully should help in situations like Jonathan Aquilina's, where /usr/bin/install_name_tool does not correspond to the tool-chain used (but is from an earlier version of Xcode). Change-Id: I5b4ca9e5e163fb4a84967577d2146cdbe8344f03
2012-11-21"newtrans.1.0" -> "translations"Stephan Bergmann
Change-Id: Ib14f6087bd4123202cf2bffe79c82421a38c1c36