Commit Graph

230 Commits

Author SHA1 Message Date
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
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
Francis ANDRE
4cee0f1b5e Fix defines for non-Windows platforms 2018-09-25 14:02:18 +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
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
Alex Fabijanic
55e56b668d data fixes (getters constness, string any handling) 2018-05-07 15:23:19 +00: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
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
zosrothko
960ecb38f0 Poco 1.9.1 assert true (#2255)
* Rename assert by assertTrue

* Update submodules

* Missing assertTrue

* Rename poco_assertTrue to poco_assert

* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06: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
Alex Fabijanic
21704830f1 SQLite not handling parameter count mismatch correctly #2020 2017-11-29 19:39:45 -06:00
Scott Talbert
1724e8ba53 Backport patches (#2006)
* Guard SQLITE_BUSY_SNAPSHOT which is not available in older SQLite releases

When building POCO unbundled with older versions of SQLite (such as on RHEL7)
SQLITE_BUSY_SNAPSHOT is not defined, so #ifdef guard it.

* Some of the samples need to link with PocoJSON

* Build parallelization issues #1730

* Fix building XMLStreamParser with unbundled expat
2017-11-20 09:31:20 -06:00
Guenter Obiltschnig
6acbe795b7 upgrade bundled sqlite to 3.21.0 2017-11-09 13:07:39 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Alex Fabijanic
94e9f2eec2 getConnectionTimeout of SQLite DB wrapper returns wrong value (in milliseconds, should be in seconds) #1729 2017-10-12 20:46:53 -05:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
c7a11d5722 upgrade bundled sqlite to 3.20.1 2017-09-01 19:54:41 +02:00
Günter Obiltschnig
da6e1d97ef upgraded bundled sqlite to 3.20.0 2017-08-12 20:53:08 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
6548da5678 fixed docs 2017-02-18 14:03:55 +01:00
Guenter Obiltschnig
39ef64eead GH #1558: upgrade bundled SQLite to 3.16.2 2017-02-11 20:07:10 +01:00
Guenter Obiltschnig
ba4a5af389 fixed GH #1461: Poco::Data::SQLite::SQLiteStatementImpl::next() error 2016-12-07 13:05:24 +01:00
Guenter Obiltschnig
26ccbe2504 fixed uninitialized members in ctor 2016-09-26 17:50:28 +02:00
Guenter Obiltschnig
4232d0b497 updated sqlite to 3.14.1 2016-08-27 08:45:01 +02:00
Guenter Obiltschnig
65ef15d98f upgraded bundled SQLite to 3.13.0 2016-07-03 11:16:47 +02:00
Guenter Obiltschnig
b530485f92 #1221: upgrade bundled sqlite to 3.12.2 2016-04-21 10:08:36 +02:00
Guenter Obiltschnig
0c91f8714d upgraded bundled SQLite to 3.12.1 2016-04-11 10:47:55 +02:00
Guenter Obiltschnig
089dd0e2d2 upgraded bundled sqlite to 3.11.1 2016-03-19 07:59:18 +01:00
Guenter Obiltschnig
b3a503c13e removed automatic Connector registration in ODBC and SQLite 2016-03-01 17:40:58 +01:00
Guenter Obiltschnig
8746f688c9 upgraded bundled sqlite to 3.11.0 2016-02-27 16:34:31 +01:00
Guenter Obiltschnig
dfa12e61d6 fixed GH #1137: Missing 'longint' type in SQLite 2016-02-27 16:30:51 +01:00
Guenter Obiltschnig
4b27f8edd2 fixed GH #967: Missing data types in SQLite 2015-10-05 15:12:16 +02:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00