Commit Graph

228 Commits

Author SHA1 Message Date
Günter Obiltschnig
9336bc60fb remove unused iostream include 2018-12-12 18:04:48 +01:00
Günter Obiltschnig
db86fec382 #2565: HTMLForm: optional enforcement of Content-Length instead of Chunked Transfer-Encoding 2018-12-12 18:00:58 +01:00
Francis ANDRE
27147dccdb
Fix new pocoproject.org IPv4 & IPV6 addresses 2018-08-09 17:05:23 +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
6c59f60237 Replace CppUnit by PocoCppUnit 2018-06-03 08:39:12 +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
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
Alex Fabijanic
2d165fd0f3 compare char* directly, part 2 2018-05-08 14:39:01 -05:00
Alex Fabijanic
70d9352b04 compare char* directly 2018-05-08 14:28:11 -05:00
roccocorsi
5adeb282cd WebSocketTest.cpp faults reported by valgrind #2323 (#2324) 2018-05-08 14:25:23 -05:00
Alex Fabijanic
82c88a238c PollSet behaves differently on windows #2313 2018-05-04 13:39:36 -05:00
Alex Fabijanic
df46368413 add PollSet::has/empty(); ParallelAcceptor: always use same reactor for a socket, if registered 2018-05-04 13:38:43 -05:00
Alex Fabijanic
f6e6bec32d minor test fix 2018-05-04 13:34:12 -05:00
Alex Fabijanic
cca65d34a0 fix windows 2018-05-04 13:33:53 -05:00
Alex Fabijanic
47833b6a59 more test fixes 2018-05-04 13:33:34 -05:00
Alex Fabijanic
f0fed91a0e fix reactor tests; add a test 2018-05-04 13:33:05 -05:00
Alex Fabijanic
ea38cdb740 Use PollSet in SocketReactor #2092 (linux) 2018-05-04 13:32:22 -05:00
Alex Fabijanic
6912384422 Use PollSet in SocketReactor #2092 (windows tested) 2018-05-04 13:31:52 -05: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
69588abd71 RemoteSyslogChannel should allow the RFC 5424 STRUCTURED-DATA field to be set #2173 2018-03-07 06:51:39 +01:00
Günter Obiltschnig
7eb1325bba style fixes 2018-03-05 15:05:04 +01:00
Jörg-Christian Böhme
181fc0eea3 Fix unit tests for android build 2018-03-04 21:26:08 +01: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
Alex Fabijanic
2ff645d598 Run ping with custom data size #1912 2018-02-24 08:39:13 -06:00
Günter Obiltschnig
c17c569d13 IDN testsuite and fixes 2018-02-17 18:09:19 +01:00
Günter Obiltschnig
c74af100b5 added IDN support to Poco::Net::DNS 2018-02-17 15:48:27 +01:00
Alex Fabijanic
db414bf6e9 fix NetworkInterface test 2017-12-20 21:05:05 +01:00
Alex Fabijanic
2b125e1c4e Poco::Net::NetworkInterface::list does not list inactive interfaces even when explicitly being asked for it #2044 2017-12-19 08:48:48 +01:00
zosrothko
1193c174f6 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-02 20:14:30 +01:00
Günter Obiltschnig
7988f58c73 updatd VS project files for PollSet 2017-11-01 11:30:59 +01:00
Guenter Obiltschnig
341aed39fe add PollSet class (backported from develop) 2017-11-01 11:19:52 +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
a460bafa70 merge Unix Domain Sockets support and other changes from develop 2017-10-31 16:53:06 +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
Alex Fabijanic
57bc179db5 FTPClientSession::close() error? #1880 2017-10-30 11:19:54 -05:00
Alex Fabijanic
1a18621ff8 ifdef auto_ptr 2017-10-24 21:55:33 -05:00
Alex Fabijanic
5bb26f8ce5 fix warning 2017-10-24 19:50:42 -05:00
Alex Fabijanic
4325a5db12 Internet connection is not available on build servers, making tests fail #1365 2017-10-06 18:19:20 -05: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
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00