Commit Graph

207 Commits

Author SHA1 Message Date
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
Günter Obiltschnig
d73bb2ea86 fixed GH #2058: Synchronization issue in Poco::Util::Timer at destruction 2018-03-06 17:33:02 +01:00
Joerg-Christian Boehme
73897b4357 Add POCO_OS_ANDROID as platfrom definitons (#2186)
* Add POCO_OS_ANDROID as platform definition

* Ignore test big ping when its failing
2018-02-26 19:18:45 -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
Björn Schramke
fe313fa278 update class documentation for Util::SystemConfiguration and Util::Application 2018-02-13 08:14:00 -06:00
Björn Schramke
27d8106599 Update Application.h
Add missing method declaration
2018-02-13 08:10:35 -06:00
Björn Schramke
82efad08c2 add new path values (configHome,cacheHome, etc) application config 2018-02-13 08:10:14 -06:00
Björn Schramke
b9259452a9 add new path values (configHome,cacheHome, etc) application config 2018-02-13 08:09:48 -06:00
Björn Schramke
b59329034f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2018-02-13 08:07:45 -06:00
Rudolf-Walter Kiss-Szakács
275275baa9 Issues #1609 and #561 have not made it into a stable release #2152 2018-02-13 07:53:41 -06:00
Guenter Obiltschnig
7d4d01e343 GH #1988: Remove OpenVMS support 2017-11-09 12:42:13 +01: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
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
968dfe77dc fixed typos and style 2017-09-01 20:54:11 +02:00
Günter Obiltschnig
8d65ebf02a Poco::Util::LayeredConfiguration: added support for labelling configurations and finding them by their label 2017-09-01 20:23:35 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
df855c88b7 fixed GH #1462: AbstractConfiguration::getUInt does not parse hex numbers 2016-10-24 09:41:49 +02:00
Guenter Obiltschnig
5df2508986 XMLConfiguration default (and single-argument delimiter) constructor now loads an empty XML document with "config" root element to make the configuration usable without an additional call to load() or loadEmpty(). 2016-10-16 13:39:17 +02:00
Guenter Obiltschnig
80f95d7c16 add a load() overload to specify name pool size 2016-10-07 10:59:24 +02:00
Guenter Obiltschnig
ff1834eb76 added Poco::Util::MapConfiguration::copyTo() 2016-03-01 07:31:18 +01:00
Guenter Obiltschnig
8b4709155d fixed GH #1114: World-write permissions on files created by daemon. Default umask is now 027; other mask can be set with --umask command-line parameter 2016-02-27 21:17:39 +01:00
Guenter Obiltschnig
d4cdb91c01 respect POCO_NO_FORK_EXEC in ServerApplication 2015-09-29 14:32:30 +02: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
Gamadril
dc402085e8 Fixed issue #705 Error building with ENABLE_UTIL=ON and ENABLE_XML=OFF 2015-05-19 17:08:58 +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
Alex Fabijanic
74c24a3789 related to GH#705: Error building with ENABLE_UTIL=ON and ENABLE_XML=OFF 2015-02-02 00:00:26 -06: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
Aleksandar Fabijanic
e7fb853c7d Merge pull request #665 from cryptoknight/Subsystems
Add getter for an Application's list of Subsystems
2015-01-08 18:32:14 -06:00
Scott Davis
240128b640 Add getter for an Application's list of Subsystems 2015-01-08 17:20:38 -05:00
Scott Davis
7b347ea592 Make WinRegistryKey easier to extend 2015-01-08 16:44:59 -05:00
Pascal Bach
97ea3ef483 CMake, WinCE: Make samples and tests compile under Windows CE 2014-12-21 16:23:35 +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
Pascal Bach
e2538ac6e2 Add additional test for Poco::Util::Timer
Test scheduling with Timestamp and Clock

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2014-12-17 10:50:40 +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
c455631e45 WinRegistryConfiguration fix 2014-11-26 10:52:49 +01:00
Guenter Obiltschnig
f848f0db19 add test for c2edf4470f 2014-11-24 18:45:41 +01:00
Guenter Obiltschnig
c2edf4470f prevent re-schedule of cancelled TimerTask 2014-11-24 18:38:05 +01:00
Günter Obiltschnig
42c814cca4 enabled WinRegistryKey and WinRegistryConfiguration for WinCE 2014-11-24 15:30:33 +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
Guenter Obiltschnig
e6ea29c26e fixed GH #198: The application.configDir property is not always created. 2014-11-20 00:12:54 +01:00
Günter Obiltschnig
5f380f0b80 Merge pull request #574 from siemens/cmake
Cmake updates
2014-11-06 11:17:45 +01:00
Günter Obiltschnig
1db210e8b9 GH #575: fixed compile error if POCO_WIN32_UTF8 is not defined 2014-10-16 12:57:55 +02:00