Commit Graph

4077 Commits

Author SHA1 Message Date
Ed
27d4c8c373 Don't include <openssl/fips.h> for later OpenSSL (#2358) 2018-06-04 11:49:03 -05:00
Alex Fabijanic
d7a98bf403 remove global scope for int types 2018-06-03 16:19:19 -05:00
Alex Fabijanic
b30683fd6d backport NumericString from develop (fixes #2250) 2018-06-03 13:52:25 -05:00
Joerg-Christian Boehme
5fb10f6746 Set EVP private key on SSL context (#2259) 2018-06-03 11:27:32 -05: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
4542a15b86 Append 'd' to 'TestApp' when compiling with _DEBUG 2018-06-03 16:05:49 +02:00
Francis ANDRE
9ba9254623 Remove CppUnit from proGen templates 2018-06-03 13:47:37 +02:00
Francis ANDRE
6c59f60237 Replace CppUnit by PocoCppUnit 2018-06-03 08:39:12 +02:00
Francis ANDRE
b97015bb56 Cleanup 2018-06-03 08:22:26 +02:00
Francis ANDRE
53908fcbb9 Use PocoCppUnit*.lib instead of CppUnit*.lib 2018-06-03 08:09:34 +02:00
Alex Fabijanic
a57e72f25a add missing include 2018-06-02 21:34:23 +02:00
Alex Fabijanic
f5ef090721 regen net testsuite vs projects 2018-06-02 21:12:43 +02:00
Aleksandar Fabijanic
c4e676d36d
Feature net udp (#2347)
* add PMTU discovery #2329

* add socket gather/scatter capabilities #2330 (win, udp)

* enable WSAPoll

* add FastMemoryPool

* add receiveFrom() with native args

* allow copying of StringTokenizer

* add AtomicFlag and SpinlockMutex

* update .gitignore

* UDPServer and client #2343 (windows)

* fix warnings

* fix warnings

* regenerate Net VS solutions

* regenerate CppUnit projects/solutions

* clang fixes

* gcc fixes

* try to fix travis

* more travis fixes

* more travis fixes

* handle UDPClient exception

* fix makefiles and init order warnings

* add UNIX gather/scatter sendto/recvfrom implementations and tests

* run travis tests as sudo

* try to run tests as sudo, 2nd attempt

* fix warning

* use mutex in reactor

* lock-order-inversion in SocketReactor #2346

* add PMTU discovery #2329 (linux)

* ICMPSocket does not check reply address #1921

* remove some ignored tests

* add PMTU discovery #2329 (reconcile logic with #1921)

* fix native receiveFrome()

* reinstate ignoring of proxy errors

* add testMTU to ignore list

* add include atomic

* NTPClient not checking reply address #2348

* some ICMP/MTU fixes

* UDPSocketReader cleanup

* resolve some socket inheritance warnings

* add NTP time sync to ignored tests

* SocketNotifier not thread-safe #2345

* prevent x64 samples build attempt for win32

* build TestApp and Library

* fix ICMP tests

* regen VS projects

* regen VS projects and add missing 2012 files

* remove debug prints
2018-06-02 14:02:33 -05:00
Francis ANDRE
da15142f69 Add TimerTest.testScheduleInterval &
TimerTest.testScheduleIntervalTimestamp
2018-06-02 04:56:16 +02:00
Francis ANDRE
625961adec Add %CPPUNIT_IGNORE% 2018-06-01 22:17:08 +02:00
Francis ANDRE
c224dd1590 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco into poco-1.9.1 2018-06-01 21:39:15 +02:00
Francis ANDRE
fa1e23ff0f Remove WinTestRunner project reference 2018-06-01 21:38:56 +02:00
Francis ANDRE
f1376dab12 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco.git into poco-1.9.1 2018-06-01 21:31:54 +02:00
Francis ANDRE
1936719c89 Reinstate ICMP tests 2018-06-01 21:31:19 +02:00
Francis ANDRE
24a5f15429 Remove WinTestRunner project reference 2018-06-01 21:30:52 +02:00
Francis ANDRE
9bd24ed7d9 Fix CppUnit vs90 x64 solution 2018-06-01 21:09:33 +02:00
Francis ANDRE
5da5c48304 Add modules progeneration 2018-06-01 14:00:38 +02:00
Francis ANDRE
d1beb204d7 Use clout instead of clog 2018-06-01 13:55:47 +02:00
Francis ANDRE
7e1fcf5875 Use defaulted 'msbuild' tool 2018-06-01 13:55:02 +02:00
Francis ANDRE
4f30644d3d Fix WinTestRunner include base path 2018-06-01 07:43:44 +02:00
Francis ANDRE
3a0447521c Add log clog << "p.toString(Path::PATH_VMS)=" <<
p.toString(Path::PATH_VMS);
2018-06-01 07:27:43 +02:00
Francis ANDRE
e48eb75272 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco.git into poco-1.9.1 2018-06-01 00:07:02 +02:00
Francis ANDRE
fb75454adf Ignore TimerTest.testScheduleAtFixedRate 2018-06-01 00:05:28 +02:00
Alex Fabijanic
31b77f221f build TestApp and Library 2018-05-31 21:21:50 +02:00
Alex Fabijanic
e1f82a35bf prevent x64 samples build attempt for win32 2018-05-31 17:53:43 +02:00
Francis ANDRE
95b2afe480 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco into poco-1.9.1 2018-05-31 06:22:13 +02:00
Francis ANDRE
602a9d4c63 Add WinTestRunner progeneration 2018-05-31 06:21:58 +02:00
Francis ANDRE
4208f6f1a2 Reinstate escape for '<' & '>' 2018-05-30 21:39:47 +02:00
Francis ANDRE
0d61b6b44a Fix ActiveMethod project reference 2018-05-30 21:09:11 +02:00
Francis ANDRE
08b178fb80 Concatene $ENV:INCLUDE & $ENV:LIB 2018-05-30 19:11:08 +02:00
Francis ANDRE
e4b2b7dbf7 Reformat 2018-05-30 09:08:59 +02:00
Francis ANDRE
d814ba5334 Ignore ICMPSocketTest::testMTU and
ICMPSocketTest::testSendToReceiveFrom for now until being fixed by Aleks
2018-05-30 00:16:39 +02:00
Francis ANDRE
66ab73072a Add class CppUnit::TestCaller<class ThreadTest>.testSleep 2018-05-29 16:03:48 +02:00
Francis ANDRE
cf2b53dfc4 Remove include/cpp source 2018-05-29 10:33:56 +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
cc23e2c84f Use develop branch syntax 2018-05-28 14:57:52 +02:00
Francis ANDRE
9255903554 Backport from the develop branch. 2018-05-28 12:19:50 +02:00
Francis ANDRE
a2e27cf19e Use warn instead of fail 2018-05-27 20:26:29 +02:00
Francis ANDRE
82264f3720 Replace localhost by 127.0.0.1 2018-05-27 19:44:40 +02:00
Francis ANDRE
ff8b4078bb Replace "localhost" by "127.0.0.1" 2018-05-27 18:40:58 +02:00
Francis ANDRE
05246d2de7 Use new syntax from develop branch 2018-05-27 17:05:36 +02:00
Francis ANDRE
24ebf9858d Backport from the develop branch 2018-05-27 16:26:50 +02:00
Francis ANDRE
53c225fea2 Display CPPUNIT_IGNORE 2018-05-27 09:50:13 +02:00