Commit Graph

175 Commits

Author SHA1 Message Date
Günter Obiltschnig
65fd5f8f18 fix indluce paths for brew mysql 2021-06-17 13:48:39 +02:00
Günter Obiltschnig
b64a8e9061 add MySQL include/lib search paths for Homebrew 2021-06-17 12:36:50 +02:00
Günter Obiltschnig
4de9a21187 make CMake files style (more) consistent 2020-02-14 11:07:32 +01:00
Günter Obiltschnig
75a86ad868 remove POCO_STATIC 2020-02-12 22:10:01 +01:00
Günter Obiltschnig
506049e360 add fail-readonly connection string parameter 2020-02-08 15:41:43 +01:00
Günter Obiltschnig
496360bab7 make session reset optional and disable by default 2020-02-07 15:16:20 +01:00
Joerg-Christian Boehme
885c5cbc55 Ignore tests in cmake from cppignore and set POCO_BASE environment. 2020-01-14 21:45:56 +01:00
Günter Obiltschnig
43b79ffdbe added Poco::Data::Session::isGood() 2020-01-13 20:13:27 +01:00
Günter Obiltschnig
c04a1f28d9 add support for MySQL 8 2020-01-13 10:31:25 +01:00
Günter Obiltschnig
4920df18ce re-generated project files 2020-01-12 23:04:09 +01:00
Günter Obiltschnig
165f5cfd20 re-generated project files 2020-01-11 22:33:28 +01:00
Günter Obiltschnig
4c1e357e4a project file fixes 2020-01-11 12:45:39 +01:00
Günter Obiltschnig
fea390fe6a remove gradle files 2020-01-11 10:04:22 +01:00
Günter Obiltschnig
e84ab92ee0 removed x64 project files 2020-01-11 09:52:49 +01:00
Günter Obiltschnig
fe3f6405b6 updated progen files 2020-01-11 09:34:54 +01:00
Günter Obiltschnig
59898cd3c2 remove old VS project files 2020-01-10 14:26:36 +01:00
Günter Obiltschnig
b55db12286 cleanup 2020-01-10 12:30:06 +01:00
Günter Obiltschnig
aa46e9b6e4 fixed type overloads 2020-01-09 18:02:29 +01:00
Günter Obiltschnig
03d1dd9822 fixes for macos/clang 2020-01-09 11:53:03 +01:00
Francis ANDRE
e59f37318e Add /MP option and remove /Gm as it is ignored and will be removed 2019-12-07 19:11:24 +01:00
Brice Gros
990f7825b5 Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs 2019-10-18 15:35:02 +02:00
Günter Obiltschnig
9a8ab0858f include version resource in DLLs built with CMake 2019-06-24 15:39:06 +02:00
Vojtěch Erben
8d4dee26ea Fixed PostgreSQL SessionImpl, use mysql_reset_connection() if it is
available

Use mysql_reset_connection() only if MySQL version is >= 5.7 or MariaDB
version is >= 3.0.0 otherwise fall back to myslq_refresh()
2018-11-21 10:14:07 +01:00
Vojtěch Erben
fc5f1684d5 Use mysql_refresh() instead of mysql_reset_connection() 2018-11-21 09:16:09 +01:00
Vojtěch Erben
8f2fef23e4 Rename methods
resetConnection() -> reset()
2018-11-20 10:09:40 +01:00
Vojtěch Erben
6e6ad28a1f Reset connection when a session is returned to the SessionPool 2018-11-14 15:50:17 +01:00
Günter Obiltschnig
9f53d07d4c fixed GH #2538: Poco::Data::Session::connector() returns empty string for MySQL session. 2018-11-11 20:50:15 +01:00
Joerg-Christian Boehme
eec8dedbb8
Merge cmake changes from develop (#2504)
* Increase PostgreSQL version number

* Take changes from develop for Define Platform Specific cmake

* Take changes from develop for find MySQL modul

* Take changes from develop for find ODBC modul

* Cleanup standard language compile features

* Fix cmake compile features

* Improve to find ODBC on windows

* Enable 64-bit build on AppVeyor

* Switch MySQL off on AppVeyor because of error LNK2038: mismatch detected for _MSC_VER: value 1800 doesnt match value 1900

* Move LCC define to MySQL
2018-10-18 07:07:46 +02:00
Joerg-Christian Boehme
e624b3315c
CMake improve find third-party libraries (#2478)
* Improve find thirdparty cmake module. Cleanup cmake build system

* Add additional settings for thirdparty paths and fix windows build

* Improve cmake getting started doc

* Fix postgresql build

* Add additional path for odbc windows kits
2018-10-10 13:43:34 +02:00
Francis ANDRE
3e242f741a Fix update PATH with the TestApp directoy for ProcessTest 2018-10-05 15:31:16 +02:00
Francis ANDRE
5dbb9cc3de Regenerating VisualStudio projects 2018-06-20 09:47:40 +02:00
Francis ANDRE
b7330492e5 Add <TargetMachine>MachineX64</TargetMachine> on <Lib> element 2018-06-15 14:28:43 +02:00
Francis ANDRE
19eecbaafb Remove WinTestRunner 2018-06-10 19:46:19 +02:00
Joerg-Christian Boehme
612f092235 Cleanup cmake build system to use transitive dependency management from cmake (#2321)
* Some cleanup in the root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* Set proper scope

* Change crypto default to off

* Fix openssl default to on

* Remove global setting of C99 standard

* Set from C11 to C99

* Fix for NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _CRT_SECURE_NO_WARNINGS as target compile definitions

* Add _AFXDLL as target compile definitions

* Remove commented out line

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Use cmake property to build shared libs

* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Add POCO_STATIC for CppUnit

* Cleanup target link libraries and add option dependencies.

* Add dependencies management in cmake

* Update cmake documentation

* Squashed commit of the following:

commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7

    Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231)

    - abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
     - a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
     - minor indentation problems corrected

commit 4cbdfbe828943871618172f9e042176f115d61d8

    Fix build dependencies

* Improve database cmake build dependencies

* Update doc

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build system

* Fix PostgreSQL build

* Fix PostgreSQL build in cmake

* Fix PostgreSQL from SQL to Data

* Squashed commit of the following:

commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4

    Add missing cmake file

* Set path to PostgresSQL in AppVoyer

* Try to fix AppVeyor build

* show dir in appvoyer

* Disable PostgreSQL build on Appvoyer

* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
4c22b871ae Use CppUnit as a Poco module: regenerate all VS projects 2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33 Add Poco as prefix of CppUnit import libs 2018-05-28 19:58:05 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
Francis ANDRE
bbddf9744c Update Gradle 2018-05-07 21:09:22 +02:00
Francis ANDRE
3b3d2652fc Remove POCO_LIB_SUFFIX since PostgreSQL does not provide a debug libpq
library
2018-05-07 20:32:32 +02:00
Francis ANDRE
a5951c7795 Add POCO_LIB_SUFFIX to the #pragma link library name 2018-05-07 20:29:41 +02:00
Alex Fabijanic
fa042447a4 regenerate mysql vs projects 2018-05-07 15:22:12 +00:00
Francis ANDRE
cb3c31b4c6 Update Gradle build 2018-05-03 18:04:59 +02:00
zosrothko
821a88dd1a Gradle udpate 2018-05-02 15:49:58 +02:00
zosrothko
ca03c6b471 Update gradle 2018-04-20 13:25:51 +02:00
zosrothko
9f1c03da4d Update gradle 2018-04-18 10:21:50 +02:00
Francis ANDRE
46898f3750 Add display of targetPlatform.name 2018-03-31 11:21:37 +02:00
zosrothko
2ca964c699 Fix PrebuildLibrary 2018-03-31 11:05:43 +02:00
Francis ANDRE
530e7b585a Cleanup Windows libs 2018-03-29 20:47:12 +02:00
Francis ANDRE
e4d4315a88 Missing assertTrue 2018-03-29 14:09:26 +02:00
Francis ANDRE
dd8c25d7ae Rename assert by assertTrue 2018-03-29 12:25:29 +02:00