Commit Graph

163 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
4f30644d3d Fix WinTestRunner include base path 2018-06-01 07:43:44 +02:00
Francis ANDRE
4c22b871ae Use CppUnit as a Poco module: regenerate all VS projects 2018-05-28 23:29:12 +02:00
Francis ANDRE
3d2944b3cf Add Poco as prefix of CppUnit import libs 2018-05-28 19:59:15 +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
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
zosrothko
22976b8eb7 Remove linklib for ssl & crypto 2018-03-25 20:36:52 +02:00
Günter Obiltschnig
df1caff144 regen project files 2018-03-07 10:25:19 +01:00
Günter Obiltschnig
826dc92fda style and doc fixes 2018-03-06 23:13:07 +01:00
Günter Obiltschnig
e7d2b4593a fix for OpenSSL 1.0 2018-03-06 22:58:14 +01:00
Günter Obiltschnig
943595c937 GH #2129: Add support for AES-GCM ciphers 2018-03-06 22:53:27 +01:00
Günter Obiltschnig
e19f33351d add additional cipher modes 2018-03-06 19:46:24 +01:00
Alex Fabijanic
20f9320f2d RSAKeyImpl #2201 2018-03-05 20:12:31 -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
Aleksandar Fabijanic
c8c6662069
fix osx clang compile 2018-01-31 13:10:58 -06:00
Aleksandar Fabijanic
a4c744fdba
fix #endif comment 2018-01-29 18:43:25 -06:00
Alex Fabijanic
8f2ecfccef openssl VS projects modifications 2018-01-29 09:22:45 -06:00
Aleksandar Fabijanic
6cdf579b48
fix name case 2017-11-16 22:27:16 -06:00
Aleksandar Fabijanic
860975b372
Fix EVPTest on RHEL/Fedora by removing hard-coded EC curve name (#2002) 2017-11-15 20:35:25 -06:00
Guenter Obiltschnig
c672c14e5a remove duplicate files and remaining Id headers 2017-11-10 09:26:24 +01:00
Guenter Obiltschnig
4bb54690d0 removed openssl_ver script 2017-11-09 16:25:43 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Bjoe
3ddda2f163 Add missing std:: namespace (#1946) 2017-10-18 16:15:20 -05:00
Alex Fabijanic
210bc6d30c add X509 version, serialNumber and signatureAlgorithm 2017-09-29 18:20:10 -05:00
Alex Fabijanic
4c4de6b7fb add PKCS12 CA-cert friendly names extraction 2017-09-28 20:50:30 -05:00
Alex Fabijanic
70f9af935a fix array init 2017-09-28 15:26:31 -05:00
Alex Fabijanic
8fff0cf586 fix incomplete EC key creation from curve name; make sure tests use curves that exist; add validation checks on EC key creation 2017-09-28 14:42:50 -05:00
Alex Fabijanic
ba5af017cc remove unneeded include and duplicate declaration 2017-09-27 21:56:40 -05:00
Alex Fabijanic
9e18ae0944 fix wrong test file name and other iprovements (WIP EC EVP key comparison) 2017-09-27 21:43:00 -05:00
Alex Fabijanic
e5aaa991b8 style fix 2017-09-26 21:57:15 -05:00
Alex Fabijanic
1d18435e38 read/write list of X509 certificates 2017-09-26 21:43:22 -05:00
Alex Fabijanic
4ac56bff0c EVPPKey == operator; PKCS12 copy/move 2017-09-26 15:28:23 -05:00
Alex Fabijanic
dc2c4dcd27 backport CipherKey digest changes and tests from develop 2017-09-26 11:38:53 -05:00
Alex Fabijanic
b4f1427725 make all save() functions const 2017-09-26 11:20:00 -05:00
Alex Fabijanic
741fead666 add openssl autolink to NetSSL 2017-09-23 16:19:14 -05:00
Alex Fabijanic
b7fbdabf5f Merge branch 'poco-1.8.0' of https://github.com/pocoproject/poco into poco-1.8.0 2017-09-22 18:31:39 -05:00
Alex Fabijanic
0e81e082ff openssl 1.1 support 2017-09-22 16:29:33 -05:00
Alex Fabijanic
b01d45a166 fix linux build 2017-09-21 11:42:54 -05:00
Alex Fabijanic
6b57edd031 regenerate NetSSL VS projects and Crypto sample project 2017-09-20 14:09:42 -05:00
Alex Fabijanic
3c8e93dd20 regenerate VS2013 projects 2017-09-20 09:12:35 -05:00
Alex Fabijanic
ab90c48da2 backport EVPPKey file/stream load/save capabilities 2017-09-19 22:04:32 -05:00
Alex Fabijanic
dbd82953cb add capability to construct EVPPKey from ECKey and RSAKey; RSA EVPPKey tests, RSA KeyPairImpl type bugfix 2017-09-18 14:49:54 -05:00
Alex Fabijanic
b90ee449a2 port RSAKey* changes 2017-09-18 12:18:56 -05:00
Alex Fabijanic
e89e3745ee add Crypto PKCS12/EC; update VS projects 2017-09-16 00:44:39 -05:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Günter Obiltschnig
8237e9ba14 fix CipherImpl issue with OpenSSL 1.1 2017-04-18 11:42:39 +02:00
Guenter Obiltschnig
a141f9fbe1 fixed GH #1665: CipherImpl memory leak with OpenSSL 1.1 2017-04-16 08:32:57 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00