Commit Graph

1316 Commits

Author SHA1 Message Date
Alex Fabijanic
b30683fd6d backport NumericString from develop (fixes #2250) 2018-06-03 13:52:25 -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
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
d1beb204d7 Use clout instead of clog 2018-06-01 13:55:47 +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
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
0d61b6b44a Fix ActiveMethod project reference 2018-05-30 21:09:11 +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
db5d570f33 Add Poco as prefix of CppUnit import libs 2018-05-28 19:58:05 +02:00
Francis ANDRE
a70e63d4fb Fix typo in input linker libs 2018-05-26 18:00:42 +02:00
Francis ANDRE
013cfe8b17 Fix typo in input linker libs 2018-05-26 16:54:04 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
Günter Obiltschnig
27c5329ac1 GH #2327: updated bundled pcre to 8.42 2018-05-11 11:09:58 +02:00
Alex Fabijanic
5f92fdb79b Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco into poco-1.9.1 2018-05-07 15:29:42 +00:00
Alex Fabijanic
55e56b668d data fixes (getters constness, string any handling) 2018-05-07 15:23:19 +00:00
Francis ANDRE
e241c282ef Fix missing #endif 2018-05-06 22:01:34 +02:00
Francis ANDRE
26fa1b9e6b Support of arch riscv64 by Manuel A. Fernandez Montecelo
<mafm@debian.org>
2018-05-06 12:35:07 +02:00
Alex Fabijanic
ea38cdb740 Use PollSet in SocketReactor #2092 (linux) 2018-05-04 13:32:22 -05:00
Francis ANDRE
cb3c31b4c6 Update Gradle build 2018-05-03 18:04:59 +02:00
zosrothko
d6d27036d2 PocoDoc fixes 2018-04-17 20:45:08 +02: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
Jörg-Christian Böhme
63b95fd4aa Fix ClassLoader and SharedLibrary test for android (#2209) 2018-03-19 07:54:58 +01:00
Joerg-Christian Boehme
a02c5dc830 Exclude ClassLoader and SharedLibrary test for android build. Its failing, need a fix. 2018-03-08 20:39:32 +01:00
Jörg-Christian Böhme
a1a8e9d585 Cleanup cmake android test 2018-03-08 20:32:24 +01:00
Günter Obiltschnig
3283f53cf5 updated version 2018-03-07 14:28:19 +01:00
Günter Obiltschnig
f36827f5ce fixes for WEC2013 2018-03-07 12:46:02 +01:00
Günter Obiltschnig
126f9e1742 inttypes.h is available on sun solaris #1426 2018-03-06 18:54:38 +01:00
Günter Obiltschnig
3f75fd539f #1545: Merge partition space information methods from develop 2018-03-06 18:46:48 +01:00
Günter Obiltschnig
0d3c3ce4d4 fixed GH #2106: Undefined behavior in Delegate::equals() 2018-03-06 18:26:49 +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
73897b4357 Add POCO_OS_ANDROID as platfrom definitons (#2186)
* Add POCO_OS_ANDROID as platform definition

* Ignore test big ping when its failing
2018-02-26 19:18:45 -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
Günter Obiltschnig
de0f5a6b76 #2172: Add Poco::AutoPtr::reset() and Poco::SharedPtr::reset() 2018-02-21 17:48:36 +01:00
Günter Obiltschnig
488d8e05c2 fix doc typos 2018-02-17 20:53:49 +01:00
Günter Obiltschnig
5acd07cf34 adjust pcre out vector size to multiple of 3 2018-02-17 20:45:46 +01:00
Günter Obiltschnig
cb54071c4a Merge branch 'feature/encodings-1.8' into poco-1.9.0 2018-02-17 10:51:08 +01:00
Günter Obiltschnig
5f5a358c5b bump version to 1.9.0 2018-02-17 10:39:51 +01:00
Günter Obiltschnig
4ea0372a4f fix merge conflict 2018-02-14 09:56:30 +01:00
Günter Obiltschnig
f1cd23b71b fixed doc typos 2018-02-13 21:38:39 +01:00
Günter Obiltschnig
260aee9b04 Merge branch 'poco-1.8.2' of https://github.com/pocoproject/poco into poco-1.8.2 2018-02-13 21:32:34 +01:00
Günter Obiltschnig
6ed085f288 fixed doc typos; changed maximum sequence length to 4 2018-02-13 21:32:17 +01:00
Björn Schramke
43c44aacbb add Windows compliant implementation of XDG Base Directory Specification 2018-02-13 08:12:56 -06:00
Björn Schramke
eaaf2296f0 add OSX compliant implementation of XDG Base Directory Specification 2018-02-13 08:10:46 -06:00
Björn Schramke
b59329034f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2018-02-13 08:07:45 -06:00
Rudolf-Walter Kiss-Szakács
275275baa9 Issues #1609 and #561 have not made it into a stable release #2152 2018-02-13 07:53:41 -06:00
Conor Burgess
2632f34e85 Stricter JSON standard conformance (#2153) 2018-02-13 07:26:20 -06:00
Alex Fabijanic
fc47df04cd #2142 #2137 cherry pick 3 2018-02-08 20:01:36 -06:00
Alex Fabijanic
fac2437fab fix toJSON function and some VS warnings 2018-02-08 19:46:02 -06:00
Aleksandar Fabijanic
fbd229ee4a #2142 #2137 cherry pick 2 2018-02-08 19:45:37 -06:00
Aleksandar Fabijanic
bd81aec779 #2142 #2137 cherry pick 1 2018-02-08 19:41:44 -06:00
Jacob Sologub
6fa4fda1e4 Fixing NumericString#check function name conflict with check macro on macosx10.12. (#2096)
https://github.com/pocoproject/poco/issues/1451
https://github.com/pocoproject/poco/issues/1693
2018-02-02 12:14:10 -06:00
Alex Fabijanic
b179d5eeb7 Merge branch '1.8.1-openssl' into poco-1.8.2 2018-01-29 09:24:02 -06:00
Alex Fabijanic
8f2ecfccef openssl VS projects modifications 2018-01-29 09:22:45 -06:00
Günter Obiltschnig
af6900b9d6 bumped version to 1.8.2 2018-01-25 23:12:44 +01:00
Günter Obiltschnig
3f8c637610 fix File::linkTo() on Windows 2017-12-14 11:44:30 +01:00
Günter Obiltschnig
07d900b979 minor style fix 2017-12-14 11:44:03 +01:00
Günter Obiltschnig
d29972ef24 added Poco::File::linkTo() 2017-12-14 10:35:07 +01:00
Shahzad
e9b2ba9b35 Updated to PCRE version 8.41
Testing Done: Built on Windows OS for all configurations.
2017-12-11 18:18:37 +01:00
Günter Obiltschnig
025a4b0667 Merge branch 'poco-1.8.1' of https://github.com/pocoproject/poco into poco-1.8.1 2017-12-11 17:53:56 +01:00
Joerg-Christian Boehme
9a688250ac Remove preprocessor if statement to set min stack size in android (#2035) 2017-12-11 10:51:09 -06:00
Alexey Milovidov
8c3e207ed5 Fixed performance issue: destructor of Poco::Timespan was not inlined [#CLICKHOUSE-3458]. 2017-12-06 11:31:45 +01:00
Alex Fabijanic
de692354b4 fix MinGW 4.8.2 Compilation #1603 2017-11-29 14:43:44 -06:00
Alex Fabijanic
8579722f38 regenerate VS projects; replace font with DejaVu and add license file; embed external font in text sample 2017-11-22 20:19:42 -06:00
Günter Obiltschnig
363a1b7d85 created poco-1.8.1 branch 2017-11-14 14:57:18 +02:00
Guenter Obiltschnig
fe47b58652 revert change for GH #1828: causes Zip file corruption in some cases; bumped version no to 1.8.0.1 2017-11-11 17:36:00 +01:00
Guenter Obiltschnig
883728ec19 fix iOS by adding missing ARM64 arch def 2017-11-10 13:51:27 +01:00
Guenter Obiltschnig
7d4d01e343 GH #1988: Remove OpenVMS support 2017-11-09 12:42:13 +01:00
Günter Obiltschnig
56c9ccb7ca merge ObjectPool changes from develop 2017-11-08 20:43:46 +01:00
Günter Obiltschnig
47043e0f4f fixed GH #1425: Workaround bug in SolarisStudio 12.4 on RVO-ed objects. 2017-11-08 15:00:44 +01:00
Guenter Obiltschnig
079c9a6263 rename some of the new Environment methods, make PocoDoc config changes backwards-compatible, revert PocoDoc config changes, make doc build scripts work on macos 2017-11-08 14:37:53 +01:00
Günter Obiltschnig
f0a79015f7
Merge pull request #1970 from Kampbell/poco-1.8.0
Poco 1.8.0
2017-11-08 13:28:14 +01:00
Günter Obiltschnig
6083ecd11a fixed GH #1487: OSAtomicDecrement32 & OSAtomicIncrement32 deprecated in macOS 10.12 2017-11-08 12:01:36 +01:00
Joerg-Christian Boehme
b7ca307832 Fix android compile error with newer NDK.
Android is using in the newer NDK the unified headers.
See also
https://android.googlesource.com/platform/ndk/+/ndk-r15-release/docs/UnifiedHeaders.md
2017-11-08 00:40:28 +01:00
Günter Obiltschnig
a8ab414ea8 fixed GH #1828: DeflatingStreamBuf::sync() should also flush underlying stream. 2017-11-07 17:54:08 +01:00
Günter Obiltschnig
b96b07a9ad
Merge pull request #1882 from Burgch/uint64-dynamic-var
Add support for (unsigned) long long when long is 64bit
2017-11-07 15:18:48 +01:00
zosrothko
f642df1c77 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-07 15:17:20 +01:00
Günter Obiltschnig
7e5984a76c
Merge pull request #1941 from villytiger/streambuf-1.8.0
Fix writing into closed socket from streambuf
2017-11-07 15:11:40 +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
Guenter Obiltschnig
646c22c586 GH #1412: added Poco::DigestEngine::constantTimeEquals() 2017-11-01 17:38:12 +01:00
zosrothko
b23f4c3efe Backport from feature-gradle
Signed-off-by: zosrothko <zosrothko@orange.fr>
2017-11-01 09:03:10 +01:00
zosrothko
57befa2bdc Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-01 09:02:13 +01:00
zosrothko
f3a31fbde9 Backport from feature-gradle.
Signed-off-by: zosrothko <zosrothko@orange.fr>
2017-11-01 09:00:33 +01:00
Guenter Obiltschnig
44c3e8f22b fixed GH #1934: File::setExecutable() on POSIX should set executable bit for group and other if corresponding readable bit is set 2017-10-31 22:16:19 +01:00
Guenter Obiltschnig
d1189787d6 fix Base64Test for gcc 2017-10-31 20:05:09 +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
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Guenter Obiltschnig
a9f0279382 Base64Encoder/Decoder: added support for 'base64url' encoding
Conflicts:
	Foundation/src/Base64Decoder.cpp
	Foundation/src/Base64Encoder.cpp
2017-10-31 12:46:18 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Alex Fabijanic
1a18621ff8 ifdef auto_ptr 2017-10-24 21:55:33 -05:00
Alex Fabijanic
5b91bc65b6 Race condition in ThreadPool #1906 2017-10-20 21:41:15 -05:00
Bjoe
3ddda2f163 Add missing std:: namespace (#1946) 2017-10-18 16:15:20 -05:00
Ilya Lyubimov
c3d6fb94cc Fix writing into closed socket from streambuf
In case of error occured in writeToDevice pptr may become one byte
farther than epptr. This can lead to crash in streambuf::xsputn from
libstdc++.
2017-10-17 14:00:27 +03:00
Alex Fabijanic
317b6f7543 NamedMutex_UNIX.cpp must remove semid #271 2017-10-12 14:59:19 -05:00
Alex Fabijanic
056a411083 individually disable g++ unused warnings 2017-10-07 13:47:42 -05:00
Aleksandar Fabijanic
17e9a335af Compiling Foundation library with POCO_NO_FPENVIRONMENT in Config.h fails #1905 2017-10-06 23:58:17 -05:00
Alex Fabijanic
9b3cb9fc41 Exception when using SortedDirectoryIterator #1926 2017-10-06 17:55:43 -05:00
Alex Fabijanic
09b229df2c Message Doesn't Support 64-bit Thread IDs #1913 2017-09-28 18:12:31 -05:00