Commit Graph

136 Commits

Author SHA1 Message Date
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
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00