Commit Graph

145 Commits

Author SHA1 Message Date
Günter Obiltschnig
d658cc25e7 another include fix for xmltok.c 2019-09-16 15:32:58 +02:00
Günter Obiltschnig
29e91e8ffe make xmltok.c compile on Windows 2019-09-16 09:28:37 +02:00
Günter Obiltschnig
7d394c382f fixed GH #2784: Upgrade bundled expat XML parser library to release 2.2.8 2019-09-16 09:16:41 +02:00
Günter Obiltschnig
4c3351ea05 fixed GH #2737: Bundles vulnerable copy of Expat — please upgrade to Expat 2.2.7 2019-07-01 07:15:21 +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
78c2ef8b85 style fixes 2019-06-22 19:05:49 +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
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
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
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
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
Francis ANDRE
5591d10a21 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-10-31 18:11:51 +01:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Günter Obiltschnig
2581f97b22 updated VS project files 2017-10-31 13:39:23 +01:00
Guenter Obiltschnig
a0ecfe0b28 merge XMLStreamParser from develop 2017-10-31 13:09:59 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Günter Obiltschnig
8b52be675b remove obsolete VMS and VxWorks build system support 2017-09-09 11:15:29 +02:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Günter Obiltschnig
1bea9edecb fix formatting 2017-08-11 19:26:12 +02:00
Günter Obiltschnig
e679ebe419 fixed GH #1826: XPath query error 2017-08-11 19:13:02 +02:00
Günter Obiltschnig
fdf3d1729a fixed GH #1813: xmlparse.cpp doesn't compile in WinCE (poco 1.7.8p3)
updated changelog
bumped version to 1.7.8p4
2017-08-10 16:55:05 +02:00
Günter Obiltschnig
af06d43b55 fix comment typos 2017-08-10 13:00:43 +02:00
Günter Obiltschnig
07a00c0da1 removed pointless statements causing VC++ warnings 2017-08-10 12:18:44 +02:00
Günter Obiltschnig
f37520b30b added random salt to NamePool hash 2017-08-10 12:18:18 +02:00
Günter Obiltschnig
a176c8d1f2 upgrade bundled expat to 2.2.3 2017-08-10 10:10:32 +02:00
Günter Obiltschnig
d18e400a88 fix for Windows 2017-06-21 15:42:48 +02:00
Guenter Obiltschnig
c562469eb3 upgrade bundled expat to 2.2.1; apply POCO-specific changes 2017-06-21 15:15:55 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
cefab1f993 use #ifdef POCO_LONG_IS_64_BIT instead of if (sizeof(... to avoid warnings 2016-10-10 14:14:50 +02:00
Guenter Obiltschnig
62241b9411 fixed GH #1422 2016-10-07 20:46:12 +02:00
Guenter Obiltschnig
6b47a37fdf doc clarifications 2016-10-07 11:05:36 +02:00
Guenter Obiltschnig
e453ad144a add optional name pool size argument to DOMParser constructor 2016-10-07 10:53:14 +02:00
Guenter Obiltschnig
ad99e73a60 increased default XML name pool size, added Document constructor taking name pool size as argument 2016-10-07 10:43:34 +02:00
Guenter Obiltschnig
9cefa0d888 handle unlikely situation that XML_ParserCreate() fails 2016-09-26 18:08:36 +02:00
Guenter Obiltschnig
da66f2863a expat cross-platform fixes 2016-07-20 14:25:10 +02:00
Guenter Obiltschnig
6fb2a11d59 fixed GH #1313: XML library compilation error 2016-07-19 15:26:26 +02:00
Günter Obiltschnig
c48f45ff9d fix for WinCE 2016-07-03 13:53:06 +02:00
Günter Obiltschnig
f6f01e1184 fixes for Windows 2016-07-03 13:04:51 +02:00
Guenter Obiltschnig
8b21d3a9de updated bundled expat to 2.2.0 2016-07-03 10:28:11 +02:00
Guenter Obiltschnig
4236d130fa upgraded bundled expat to 2.1.1 2016-03-19 08:10:53 +01:00
Matej Kenda
db91266c34 GH-1167: Remove expat CPP sources from globbed C++ source file list. 2016-03-05 17:54:07 +01:00
Guenter Obiltschnig
539eba72d6 GH #713: Improved support for producing Canonical XML in XMLWriter 2016-02-28 11:20:02 +01:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00
Günter Obiltschnig
4f0b692d66 added project and solution files for VS2015 2015-08-01 10:29:32 +02:00