Commit Graph

672 Commits

Author SHA1 Message Date
Günter Obiltschnig
c427c58b69 upgrade bundled sqlite to 3.31.0 2020-01-24 09:41:08 +01:00
Günter Obiltschnig
d1f3a29da3 fixed a memory leak when opening a SQLite database fails 2020-01-23 08:41:44 +01:00
Günter Obiltschnig
eb26a95682 fixed testsuite crash due to wrong logger setup 2020-01-22 11:08:24 +01:00
Günter Obiltschnig
18adb1e43b code cleanup; fix move ctors and assignment 2020-01-21 17:52:43 +01:00
Alex Fabijanic
854bf4d79f few PostgreSQL fixes 2020-01-17 10:59:02 +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
8113e0c574 upgrade bundled SQLite to 3.30.1 2020-01-12 16:34:17 +01:00
Günter Obiltschnig
fce1f89aff fix CppUnit includes 2020-01-11 22:51:54 +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
7872c35324 remove POCO_WIN32_UTF8 2020-01-10 15:58:16 +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
988c16aebc more fixes 2020-01-09 19:34:31 +01:00
Günter Obiltschnig
3c214ed17e more fixes 2020-01-09 19:29:44 +01:00
Günter Obiltschnig
aa46e9b6e4 fixed type overloads 2020-01-09 18:02:29 +01:00
Günter Obiltschnig
c111fc89f6 ODBC fixes 2020-01-09 12:30:27 +01:00
Günter Obiltschnig
03d1dd9822 fixes for macos/clang 2020-01-09 11:53:03 +01:00
Günter Obiltschnig
1bf40a0cd2 merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8 2020-01-09 10:08:09 +01:00
Francis ANDRE
baa332ef89 Add PostgreSQL password for the 'postgres' user when runs on Jenkins 2019-12-22 19:03:37 +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
Günter Obiltschnig
a7cbff393e
Merge pull request #2815 from brice-gros/brice.gros/1.10.0+allow-for-cmake-fetchcontent
Make Poco git repository fetchable using CMake's FetchContent
2019-11-25 21:24:16 +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
c15b6191b6 fixed GH #2807: Poco::Data::ODBC Binding of SQL Decimal Type 2019-10-14 15:17:20 +02:00
Günter Obiltschnig
d7019cf5f2 upgrade bundled SQLite to 3.29.0 2019-08-18 17:32:18 +02:00
Günter Obiltschnig
1282d757dc make binding of std::string configurable (SQL_LONGVARCHAR - default or SQL_VARCHAR) in Connector 2019-08-16 14:16:01 +02:00
Günter Obiltschnig
9a8ab0858f include version resource in DLLs built with CMake 2019-06-24 15:39:06 +02:00
Günter Obiltschnig
f09c17830f Upgraded bundled SQLite to version 3.28.0 2019-06-22 18:35:44 +02:00
Joerg-Christian Boehme
e1435a6620
Fix cross-compilation against Poco pre-built (#2599) (#2679)
* Use ZLIB and PCRE imported target to improve portability
* Set EXPAT and SQLite3 library for XML and SQL if POCO_UNBUNDLED is true in cmake build
2019-04-22 23:47:11 +02:00
Günter Obiltschnig
98ba4617ed upgrade bundled SQLite to 3.26.0 2018-12-17 16:18:15 +01: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
5fc6c904bd Fixed missing method in SessionImpl in tests 2018-11-20 13:19:37 +01:00
Vojtěch Erben
a73462aedf Fixed ODBC SessionImpl 2018-11-20 10:57:58 +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
Aleksandar Fabijanic
8d95644bad
SQLite Notifier has no table information #1687 (#2540) 2018-11-13 07:23:37 -06: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
Aleksmia
f36e246063 Fix CMakeLitst.txt in Data/PostgreSQL for enabling testsuits (#2519) 2018-10-29 07:40:30 -05: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
608d383786 Merge remote-tracking branch 'origin/poco-1.9.1' into poco-1.9.1
Conflicts:
	.travis.yml
2018-09-27 14:45:27 +02:00
Günter Obiltschnig
62bbeaec8f fix documentation of SQLChannel class 2018-09-27 11:25:47 +02:00
Francis ANDRE
4cee0f1b5e Fix defines for non-Windows platforms 2018-09-25 14:02:18 +02:00
Francis ANDRE
9a140fdae2 Fix Clang linker lib 2018-09-25 09:42:55 +02:00
Francis ANDRE
13e7fe1aae Add -lodbc for OSX/Linux 2018-09-24 21:46:23 +02:00
Francis ANDRE
1935abf81a Reformat 2018-09-24 21:31:55 +02:00
Günter Obiltschnig
c8af3f1c92 fixed unused warnings 2018-08-31 10:16:37 +02:00
Aleksandar Fabijanic
9d0a1d1a7a
typo fix 2018-06-27 18:00:10 -05: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
d603a15b8d Removing WinTestRunner 2018-06-10 20:42:54 +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
zosrothko
36fbbb7a6d Update for Data/PostgreSQL 2018-05-12 14:55:01 +02:00
zosrothko
e9db9bddb1 Build Data/PostgreSQL 2018-05-12 14:19:39 +02:00
Francis ANDRE
ea2de435ea Restore reference to postgres predefined lib 2018-05-12 12:25:35 +02:00
zosrothko
6ba292a567 Update gradle 2018-05-11 17:03:06 +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
Francis ANDRE
33dcd181e6 Rename PocoSQLPostgreSQL to PocoDataPostgreSQL 2018-05-07 19:05:51 +02:00
Alex Fabijanic
dc021ae25c Postgres Linux and cmake build 2018-05-07 11:50:39 -05:00
Alex Fabijanic
f6ddfe1d02 fix typeinfo compile error 2018-05-07 11:03:09 -05:00
Alex Fabijanic
f75bc3e00d add postgresql 2018-05-07 15:28:38 +00:00
Alex Fabijanic
55e56b668d data fixes (getters constness, string any handling) 2018-05-07 15:23:19 +00: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
215bd88183 Fix ODBC:testsuite build 2018-05-02 23:00:58 +02:00
zosrothko
0ae3bbda13 Use closure to add specific platform c++ code 2018-05-02 22:25:50 +02:00
zosrothko
821a88dd1a Gradle udpate 2018-05-02 15:49:58 +02:00
zosrothko
090d24dce4 Fix for Data/SQLite on Linux 2018-05-02 15:03:08 +02:00
Francis ANDRE
5ee68dc96f Readd Data/SQLite 2018-05-02 14:26:59 +02:00
zosrothko
8ed0f82b64 Update gradle 2018-04-20 13:26:38 +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
jiajen
27e7e532cc Fix #2277 (#2278) 2018-04-10 08:18:55 -06: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
502462c4bd Rename poco_assertTrue to poco_assert 2018-03-29 15:42:54 +02:00
Francis ANDRE
b388dc6371 Rename poco_assertTrue to poco_assert 2018-03-29 14:50:34 +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
Günter Obiltschnig
ccefee0d55 Poco::Data::SQLite data types #703 2018-03-06 19:11:51 +01:00
Joerg-Christian Boehme
9feabc7723 Add android build on travis (#1981)
* Add build for android in travis CI.

* Fix review findings. Change from __ANDORID__ to POCO_ANDROID

* Add android test

* Fix compile issue after rebase

* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Günter Obiltschnig
04c884a5f4 upgrade bundled sqlite to 3.22.0 2018-02-17 10:41:47 +01:00
Alex Fabijanic
d9bff00222 POCO SQLite Data Connector hangs #2108 2018-02-09 08:29:26 -06:00
Aleksandar Fabijanic
d007edb8ca
remove empty comments 2017-12-19 09:30:11 +01:00
Alex Fabijanic
52cc7e669d Data/SQLite: Exception messages contain duplicate text #2012 2017-11-29 19:40:21 -06:00