Commit Graph

265 Commits

Author SHA1 Message Date
Günter Obiltschnig
7d6565dce0 #2565: HTMLForm: optional enforcement of Content-Length instead of Chunked Transfer-Encoding 2018-12-12 18:11:42 +01:00
FrancisANDRE
076517dc96 Fix new pocoproject.org IPv6 address 2018-08-09 17:01:02 +02:00
Francis ANDRE
0c1c2b31ca Replace pocoproject.org IPv4 "162.209.7.4" by "104.130.199.50" 2018-08-09 08:06:05 +02:00
fenghao119
9ec9e72626 support unix abstract domain socket address, fix #2042 (#2391)
* support unix abstract domain socket address, fix #2042

* fails on 64-bit osx
2018-07-16 07:23:31 -07:00
Joerg-Christian Boehme
8a70ab8a1c Cleanup cmake build system (develop) to use transitive dependency management from cmake (#2322)
* Cleanup cmake Root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* set proper scope

* Switch off make based builds in travis and appveyor

* Fix build break, set C11 on c file

* Set from C11 to C99

* Fix NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Revert "Fix windows build"

This reverts commit 678d44216bd964f61655df809efbf63ddd8a7bfd.

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _AFXDLL as target compile definitions

* 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

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Fix broken merge

* Fix android foundation test

* Fix old redis build version

* Fix android fondation test

* Cleanup target link libraries.

* Update cmake documentation

* Some fixese in crypto and netssl for win and some cleanup an SQL

* Minor fix in root CMakeList.txt

* Squashed commit of the following:

commit df050b56b6d81eaf9bdb37bb016fe9a3554eba4f

    Fix build dependecies in cmake

* Squashed commit of the following:

commit f41ce2bb404e197ff04b1e64f7b66c9a2b1e03c8

    Fix PostgreSQL build

* Squashed commit of the following:

commit b7da0deed67ffff23a8b7a50d6deff1e022b2577

    Set db hostnames

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build

* Fix broken cppunit merge
2018-06-03 11:19:00 -05:00
Alex Fabijanic
0084c75471 fix ICMP tests 2018-06-01 13:01:43 -05:00
Alex Fabijanic
45903ed071 SocketNotifier not thread-safe #2345 2018-05-30 19:51:53 -05:00
Francis ANDRE
3175502af1 Fix merge conflict 2018-05-30 20:31:12 +02:00
Francis ANDRE
051daf44a9 Fix merge conflict 2018-05-29 17:17:36 +02:00
Francis ANDRE
711b63033e Fix merge conflict 2018-05-29 10:51:10 +02:00
Francis ANDRE
f805fd94ce Fix merge conflict 2018-05-29 10:49:56 +02:00
Alex Fabijanic
6b79725d46 resolve some socket inheritance warnings 2018-05-25 16:18:42 -05:00
Alex Fabijanic
1d3e1b2611 add PMTU discovery #2329 (linux) 2018-05-25 16:11:33 -05:00
Alex Fabijanic
096e8c0c67 add UNIX gather/scatter sendto/recvfrom implementations and tests 2018-05-25 16:04:13 -05:00
Alex Fabijanic
ab82b09a1f UDP atomic fixes 2018-05-25 16:03:37 -05:00
Alex Fabijanic
b0fb66ca43 fix makefiles and init order warnings 2018-05-25 15:46:03 -05:00
Alex Fabijanic
f0a04d9dad more travis fixes 2018-05-25 15:45:14 -05:00
Alex Fabijanic
14d0c15fab gcc fixes 2018-05-25 15:24:23 -05:00
Alex Fabijanic
7cbef47887 clang fixes 2018-05-25 15:23:56 -05:00
Alex Fabijanic
2f41111f82 regenerate Net VS solutions 2018-05-25 15:17:33 -05:00
Alex Fabijanic
8f1f2b49b8 fix warnings 2018-05-25 14:55:49 -05:00
Alex Fabijanic
15861f5776 fix Cppunit include 2018-05-25 14:55:13 -05:00
Alex Fabijanic
d32b6aaf3e UDPServer and client #2343 (windows) 2018-05-25 14:53:08 -05:00
Alex Fabijanic
86897db55c add socket gather/scatter capabilities #2330 (win, udp) 2018-05-25 14:41:49 -05:00
Alex Fabijanic
bacdbdb87f add PMTU discovery #2329 2018-05-25 14:21:55 -05:00
Alex Fabijanic
b55c88fce2 use mutex in reactor 2018-05-23 10:59:10 -05:00
Alex Fabijanic
2305f71b79 fix warning 2018-05-23 10:55:31 -05:00
Alex Fabijanic
0334da4204 compare char* directly, part 2 2018-05-08 14:39:43 -05:00
Alex Fabijanic
db9327e1da compare char* directly 2018-05-08 14:02:39 -05:00
roccocorsi
4b47183368 WebSocketTest.cpp faults reported by valgrind #2323 (#2324) 2018-05-08 12:22:29 -06:00
Aleksandar Fabijanic
4efaa99fff Add WeakRefPtr to Foundation #2246 (#2247)
* Logger & Channel classes now using AutoPtr<Channel> instead of Channel* (API improvement)

* fix CachingChannel

* more fixes

* Configuration: remove raw pointers from interfaces #2077

* Add WeakPtr to Foundation #2246

* Add WeakPtr to Foundation #2246 (buildsystems files)

* Add WeakPtr to Foundation #2246 (x64 VS project files)

* backtrace and Event fixes

* add ordered map

* add ordered set

* add sanitize makefiles

* update RefPtr doc

* fix AtomicCounter includes

* add ordered containers tests

* fix xml test compile error

* remove operator bool rom smart pointers

* Poco::strToInt<> fails for values right above the type's boundary / limit #2250

* add g++ -ftrapv config

* remove Version.h includes (now included from Config.h)

* comment out offending SQLite test (TODO)

* add AtomicFlag and SpinlockMutex

* remove RefCountedObject include from RefPtr and WeakRefPtr mutex template param

* add WeakRef SpinLockMutex threading test

* WeakRefPtr, backtrace, NDC, refcount DC fixes

* SQL fixes

* update RCO documentation

* XML/DOM: Remove raw pointers from public interfaces #2075

* few fixes

* PocoDoc - make logger non-static reference member

* remove path char array initialization

* Fix failing unit test, adding d in debug mode for TestApp and TestLibrary

* fix application config pointer

* fix some crypto warnings

* fix Process tests and consolidate TestApp name building

* define PathImpl::selfImpl for WinCE

* restore WinCE test app name extension

* attempt to passify 32 bit clang

* fix failing Active* tests

* Add POCO_OS_ANDROID support for Path::self()

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Remove to set LD_LIBRARY_PATH on foundation test

* revert to develop XML

* fix VS150 env not found (hardcode it)

* undef min/max
2018-05-02 16:04:39 -06:00
Aleksandar Fabijanic
77f7c6a9a2 Reactor pollset (#2309)
* SocketAcceptor::setReactor() is broken #2308

* Use PollSet in SocketReactor #2092 (windows tested)

* Use PollSet in SocketReactor #2092 (linux)

* fix reactor tests; add a test

* more test fixes

* fix windows

* minor test fix

* add PollSet::has/empty(); ParallelAcceptor: always use same reactor for a socket, if registered

* clang/gcc fixes

* PollSet behaves differently on windows #2313
2018-05-02 09:55:40 -06:00
zosrothko
b3d107de94 Replace assert by assertTrue (#2242)
* Update Nuget packaging

* Split a single Nuget package into 2: x86/x64 because its size is greater
than 250Mb, which is the upper limit of Bintray

* CppUnit/Test.h: Rename assert by assertTrue

* Restore poco_assert

* leave old assert for backward compatibility

* add undef

* remove whitespace

* Display PocoDic.ini

* Fix CppUnit includes path

* Delete TestCaller.h

* Create dependencies
2018-03-26 06:56:33 -06:00
Günter Obiltschnig
9caebba764 RemoteSyslogChannel should allow the RFC 5424 STRUCTURED-DATA field to be set #2173 2018-03-07 07:02:26 +01:00
Jörg-Christian Böhme
042ff32424 Add POCO_OS_ANDROID as platfrom definitons (#2186)
* Add POCO_OS_ANDROID as platform definition
2018-03-05 22:02:40 +01:00
Joerg-Christian Boehme
a834aad0b1 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-03-05 22:02:40 +01:00
Günter Obiltschnig
e4ed928717 add support for Internationalized Domain Names to Poco::Net::DNS 2018-02-17 18:34:16 +01:00
zosrothko
5fa3d6094e Backport of pocoproject/feature-gradle to pocoproject/develop (#2127)
* Backport of feature-gradle

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Replace '/' by '\' to comply with DOS path

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Cleanup

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Put environment setting at the Exec task.

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Use standard release

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Updated mkdoc configuration

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Remove lines guarded by POCO_ENABLE_CPP11

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Merge remote-tracking branch 'origin/develop' into develop

* Fix NuGet & Wix input dependencies file set.

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Remaining fixes for Data2SQL switch.

* Use $global:LastExitCode instead of a local LastExitCode
2018-02-09 08:05:15 -06:00
Aleksandar Fabijanic
b49ac67225 Data2sql (#2070)
* remove leftover progen files

* remove Data sources and turn headers into forwards

* add SQL files #2059

* Data2sql: adjust Travis, AppVeyor & Makefiles (#2069)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* fix header forwarding

* Data2sql: Fixes for complete Travis CI success (#2071)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Restore DataFormatException

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* construct RowFilter from RecordSet reference instead of pointer

* pass Container ref instead of ptr to Column

* elimitate g++ warnings

* SQL: remove raw pointers from interfaces #2094; add constness and move ops where appropriate

* tidy up Postgres

* ODBC fixes
2018-01-18 11:29:28 -06:00
Alex Fabijanic
cfefb61bf3 fix NetworkInterface test 2017-12-20 21:05:51 +01:00
Alex Fabijanic
0858ff9e29 fix OSX NetworkInterface test 2017-12-20 20:58:58 +01:00
Alex Fabijanic
724b31d826 Poco::Net::NetworkInterface::list does not list inactive interfaces even when explicitly being asked for it #2044 2017-12-19 08:47:31 +01:00
Günter Obiltschnig
7a35c54873 GH #2039: support for nested multi-part content 2017-12-06 12:21:38 +01:00
Alex Fabijanic
7564c7bed2 Implement MailMessage::decode #1543 (tentatively done); add encode 'B', decode 'Q' and 'B' 2017-11-07 15:42:14 -06:00
Alex Fabijanic
6fbbb0648c Merge branch 'develop' into feature/mail-msg-decode 2017-11-03 21:51:44 -05:00
Alex Fabijanic
6e80bcc7cf Implement MailMessage::decode #1543 (wip 2) 2017-11-03 21:51:35 -05:00
Günter Obiltschnig
cff9a1ea5f updated VS project files for PollSet 2017-11-01 10:52:05 +01:00
Guenter Obiltschnig
74a70c41ef added PollSet class 2017-11-01 10:35:42 +01:00
Guenter Obiltschnig
9288e89bfe remove remaining $Id$ tags from file headers 2017-10-31 15:58:10 +01:00
Alex Fabijanic
4cc043e4a8 NTP Packet impl not according to RFC958? #749 2017-10-20 20:38:29 -05:00