Commit Graph

245 Commits

Author SHA1 Message Date
Günter Obiltschnig
4de9a21187 make CMake files style (more) consistent 2020-02-14 11:07:32 +01:00
Günter Obiltschnig
c890576b9a add timeout to testMulticast 2020-02-08 20:25:25 +01:00
Günter Obiltschnig
b52e063e0d fixed memory leak in testsuite 2020-01-22 21:51:04 +01:00
Günter Obiltschnig
f6dafb437e fixed GH #2843: Poco::Net::MediaType::parse() does not split parameters 2020-01-22 11:56:11 +01:00
Joerg-Christian Boehme
885c5cbc55 Ignore tests in cmake from cppignore and set POCO_BASE environment. 2020-01-14 21:45:56 +01:00
Günter Obiltschnig
165f5cfd20 re-generated project files 2020-01-11 22:33:28 +01:00
Günter Obiltschnig
fea390fe6a remove gradle files 2020-01-11 10:04:22 +01:00
Günter Obiltschnig
e84ab92ee0 removed x64 project files 2020-01-11 09:52:49 +01:00
Günter Obiltschnig
fe3f6405b6 updated progen files 2020-01-11 09:34:54 +01:00
Günter Obiltschnig
59898cd3c2 remove old VS project files 2020-01-10 14:26:36 +01:00
Günter Obiltschnig
1bf40a0cd2 merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8 2020-01-09 10:08:09 +01:00
Günter Obiltschnig
7c177b6f89 fix test for updated IP addresses 2020-01-04 12:55:58 +01:00
Günter Obiltschnig
4ec5d35060 added support for SameSite cookie attribute 2020-01-04 10:15:41 +01:00
Günter Obiltschnig
9c197e0ed1 finally get rid of std::auto_ptr 2019-12-15 09:40:40 +01:00
Francis ANDRE
e59f37318e Add /MP option and remove /Gm as it is ignored and will be removed 2019-12-07 19:11:24 +01:00
Günter Obiltschnig
5da6f3c4ee updated vs project files for testsuite 2019-03-18 18:04:47 +01:00
Günter Obiltschnig
0f3f11a3b2 NTLM (proxy) authentication support for HTTPClientSession 2019-03-18 16:58:57 +01:00
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