Commit Graph

1539 Commits

Author SHA1 Message Date
KevDi
936441df93 Fixed missing failOnOverwrite check 2019-11-18 18:43:34 +01:00
KevDi
6c662bfb4a Fixed File on Unix to pass the Rename Tests 2019-11-18 18:24:36 +01:00
Jan Kevin Dick
8b4ef5f706 Fixed wrong method parameter 2019-11-18 13:59:34 +01:00
Jan Kevin Dick
1eab6cfd1f Refactor 2019-11-18 13:34:02 +01:00
Jan Kevin Dick
062a662cd8 Added Tests 2019-11-18 13:33:49 +01:00
Jan Kevin Dick
4e734553b3 Added FailOnOverwrite to File Class 2019-11-18 13:06:43 +01:00
Brice Gros
990f7825b5 Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs 2019-10-18 15:35:02 +02:00
Brice Gros
22c3ae8d30 allow to select long tests to be run from cmdline 2019-10-18 15:09:38 +02:00
Francis ANDRE
f4b4187d0a By default on Windows with VS, Poco should use the internaly compiled OpenSSL from the openssl directory 2019-09-02 15:38:28 +02:00
Günter Obiltschnig
b4fd25c620 fixed exception messages if writing to output stream fails 2019-08-23 20:55:19 +02:00
Günter Obiltschnig
aec24aa4f7
Merge pull request #2766 from dukeru/support_QNX_SDP7
Support qnx sdp7
2019-08-19 08:41:16 +02:00
Günter Obiltschnig
325cfcb3c2 added SharedLibrary::setSearchPath() 2019-08-17 10:04:48 +02:00
Joerg-Christian Boehme
2637aa6610 Remove POCO_NO_AUTOMATIC_LIBS
POCO_NO_AUTOMATIC_LIBSis relevant only for Windows and should not be set.
It is used to automatically link the byside symbol file of each DLL
produced. It could be set on a user basis to avoid this automatic link.
2019-08-13 09:43:17 +02:00
Dooeui
61a49ccb98 Fix build error for QNX SDP7.0
- Use statvfs instead of statfs
2019-08-10 21:27:42 +09:00
Alexander Galanin
5cd9f65704 epoll() is absent on AIX (fix whitespace indent) 2019-07-10 14:11:27 +03:00
Alexander Galanin
8af21cb8cb epoll() is absent on AIX 2019-07-10 14:11:19 +03:00
Günter Obiltschnig
067ac73cc9 testsuite: assert() -> assertTrue() 2019-07-01 18:01:05 +02:00
Günter Obiltschnig
12897d3d63 fixed GH #2738: Poco::AccessExpireStrategy::onGet() must not extend expiration time after expiration 2019-07-01 17:51:38 +02:00
Günter Obiltschnig
9a8ab0858f include version resource in DLLs built with CMake 2019-06-24 15:39:06 +02:00
Günter Obiltschnig
5ba6ec6885 fixed GH #2700: Invalid read of memory in Poco::Environment::set which may cause crashes. 2019-06-22 18:19:22 +02:00
Günter Obiltschnig
ee5a7269c3 fixed GH# #2712: File_WIN32.cpp(168): error C2065: “_upath”:Undeclared identifier 2019-06-22 13:44:25 +02:00
Günter Obiltschnig
5a5028fe6d Merge branch 'poco-1.10.0' of github.com:pocoproject/poco into poco-1.10.0 2019-06-12 15:41:09 +02:00
Günter Obiltschnig
dee86fbbfe bumped version to 1.10.0 2019-06-12 15:40:52 +02:00
Transporter
edb8bed56d Copy of pr #2694 for poco-1.10.0 including fix for #2718 2019-06-12 14:10:21 +02:00
Joerg-Christian Boehme
e1435a6620
Fix cross-compilation against Poco pre-built (#2599) (#2679)
* Use ZLIB and PCRE imported target to improve portability
* Set EXPAT and SQLite3 library for XML and SQL if POCO_UNBUNDLED is true in cmake build
2019-04-22 23:47:11 +02:00
Joerg-Christian Boehme
02d5743a4b
Fix check of cmake version (#2672)
Verify cmake version in Foundation library build.
2019-04-08 13:11:30 +02:00
Günter Obiltschnig
da7de5e586 Merge branch 'poco-1.9.1' of github.com:pocoproject/poco into poco-1.9.1 2019-03-17 09:59:22 +01:00
Günter Obiltschnig
b961ea8148 added start() method that takes a Poco::SharedPtr to a Runnable 2019-02-23 13:46:54 -05:00
Francis ANDRE
63f819fc6d Remove printing PATH
Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
2019-02-10 17:25:25 +01:00
Francis ANDRE
90de6442c1 Merge remote-tracking branch 'pocoproject/poco-1.9.1' into poco-1.9.1 2018-10-20 01:08:43 +02:00
Francis ANDRE
4d7c1bd4c0 # WARNING: head commit changed in the meantime
Merge remote-tracking branch 'pocoproject/poco-1.9.1' into poco-1.9.1
2018-10-20 01:05:20 +02:00
Joerg-Christian Boehme
eec8dedbb8
Merge cmake changes from develop (#2504)
* Increase PostgreSQL version number

* Take changes from develop for Define Platform Specific cmake

* Take changes from develop for find MySQL modul

* Take changes from develop for find ODBC modul

* Cleanup standard language compile features

* Fix cmake compile features

* Improve to find ODBC on windows

* Enable 64-bit build on AppVeyor

* Switch MySQL off on AppVeyor because of error LNK2038: mismatch detected for _MSC_VER: value 1800 doesnt match value 1900

* Move LCC define to MySQL
2018-10-18 07:07:46 +02:00
Francis ANDRE
d2f164e4d1 Remove the prefix './' for Linux so that TestApp be anywhere 2018-10-11 19:23:54 +02:00
Francis ANDRE
cee1d25535 Update for Linux 2018-10-11 19:23:00 +02:00
Francis ANDRE
1eaf51dcdb Merge remote-tracking branch 'pocoproject/poco-1.9.1' into poco-1.9.1 2018-10-11 18:29:47 +02:00
Francis ANDRE
d316f9e1de Remove the "./" prefix for building the name of the TestApp executable.
Factor the name build in the SetUp method.
2018-10-10 16:56:06 +02:00
Francis ANDRE
9ea3493038 Update PATH with TestApp for the unittest Foundation:ProcessTest 2018-10-10 16:54:39 +02:00
Joerg-Christian Boehme
85b9fe7a21
Fix cmake build on FreeBSD (#2476)
* Fix cmake build on FreeBSD
2018-10-10 13:48:08 +02:00
Francis ANDRE
3e242f741a Fix update PATH with the TestApp directoy for ProcessTest 2018-10-05 15:31:16 +02:00
Francis ANDRE
4cd077101b Fix PATH for RunTestExecutable 2018-10-03 19:42:00 +02:00
Francis ANDRE
302d5b741f Use ':' as path separator 2018-09-30 16:58:53 +02:00
Francis ANDRE
4850dc134a Add TestApp.exe path to PATH for running ProcessTest 2018-09-30 16:44:28 +02:00
Francis ANDRE
7de5b1a776 Reformat 2018-09-28 16:31:45 +02:00
Francis ANDRE
4dbb2aa78d Cleanup 2018-09-28 15:48:15 +02:00
Francis ANDRE
0224849d9c Dump Crypto/guild/tmp/linkCryptoLinux64DebugSharedLibrary/* 2018-09-26 10:47:12 +02:00
Francis ANDRE
d7c18656f1 Remove wrong dependencies from TestApp 2018-09-25 14:40:17 +02:00
Francis ANDRE
3a4244fa0b Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco.git into poco-1.9.1 2018-09-22 21:15:16 +02:00
Francis ANDRE
ed07b476c8 Add TestLibrary as dependancy 2018-09-22 20:28:04 +02:00
Joerg-Christian Boehme
a7f9ebe116
Fix static build in cmake (#2455)
* Fix cmake build issue when poco build as static lib with enabled tests

* Cleanup compile flags output in cmake

* Some minor improvements in cmake
2018-09-22 12:02:05 +02:00
Günter Obiltschnig
43f1d5617a Merge branch 'poco-1.9.1' of github.com:pocoproject/poco into poco-1.9.1 2018-09-13 08:30:29 +02:00
Günter Obiltschnig
d77067b693 backport #2459 2018-09-13 08:29:53 +02:00
Francis ANDRE
fe8bda7720
Fix for issue #2462 by bakkiraju@logitech.com
QNX7.0 seems to be using header <sys/statvfs.h> instead of <sys/statfs.h>
2018-09-13 08:26:00 +02:00
Alex Fabijanic
d69c5b64de POCO Net build fails with clang-cl 6.00 on Windows #2428 2018-08-15 12:26:24 -05:00
Günter Obiltschnig
e6b5288735 add support for auto-linking SLpro or OpenSSL default build OpenSSL libs 2018-08-15 08:39:48 +02:00
Günter Obiltschnig
e7fe8cfca3 fixed VS solutions - re-add TestApp and TestLibrary 2018-08-15 08:36:36 +02:00
Aleksandar Fabijanic
231ef2762d
Preserve entries order in DynamicStruct #2410 (#2413)
* Preserve entries order in DynamicStruct #2410

* disable C++11 default

* ifdef C++11 code
2018-08-01 08:06:59 -07:00
Aleksandar Fabijanic
142bbdcef3
add ordered containers (#2408)
* add ordered containers

* move ordered_map_util.h to its proper place

* add acknowledgement
2018-07-27 07:33:25 -07:00
Alex Fabijanic
ff262d6c5f make DynamicStruct::toString() const 2018-07-26 18:47:01 -05:00
Alex Fabijanic
256b6855fa increase tuple sizes to 40 2018-07-06 21:44:29 -05:00
Alex Fabijanic
00abd06f75 Tuple assignment very slow #2383 2018-07-06 21:44:02 -05:00
Alex Fabijanic
98fd0b4124 increase TypeList max size to 40 2018-07-05 11:26:49 -05:00
Alex Fabijanic
eba70b82f2 pull origin 2018-07-04 13:03:00 -05:00
Alex Fabijanic
6bad030582 add TestLibrary to VS90 solution 2018-07-04 12:52:38 -05:00
Francis ANDRE
b2c569ec0b Merge remote-tracking branch 'origin/poco-1.9.1' into poco-1.9.1-remove-wintestrunner 2018-06-20 12:00:19 +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
Alex Fabijanic
674bbf3806 style fix 2018-06-13 16:57:49 -05:00
Alex Fabijanic
312dc3325b add struct tm support to DateTime #2365 2018-06-12 09:54:35 -05:00
Francis ANDRE
d603a15b8d Removing WinTestRunner 2018-06-10 20:42:54 +02:00
Francis ANDRE
19eecbaafb Remove WinTestRunner 2018-06-10 19:46:19 +02:00
Aleksandar Fabijanic
577fb5756e
Why does Poco explicitly define _WIN32_WINNT? #2306 (#2357) 2018-06-06 17:44:40 -05:00
Alex Fabijanic
d02294a67f force NaN not infinity on windows (consistent with std and other platforms) 2018-06-05 00:42:40 -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
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
Alex Fabijanic
fab661a4a3 fix linux build 2017-09-27 13:03:29 -05:00
Alex Fabijanic
6bcd362c74 use _snprintf_s on VS < 2015 2017-09-27 11:25:43 -05:00
Alex Fabijanic
4ac56bff0c EVPPKey == operator; PKCS12 copy/move 2017-09-26 15:28:23 -05:00
Alex Fabijanic
04a4beb5e4 add POCO_EXTERNAL_OPENSSL 2017-09-25 19:11:21 -05:00
Alex Fabijanic
6efab2cd58 back-port JSON and accompanying Foundation portions (JSONString, Dynamic::Var etc) 2017-09-25 15:15:05 -05:00
Alex Fabijanic
6b57edd031 regenerate NetSSL VS projects and Crypto sample project 2017-09-20 14:09:42 -05:00
Günter Obiltschnig
3f1e82ad86 Merge branch 'poco-1.7.9' into poco-1.8.0 2017-09-11 21:08:04 +02:00
Guenter Obiltschnig
d558d5eef9 use non-zero project ID ('p') for ftok() 2017-09-11 17:53:34 +02:00
Conor Burgess
fe693de41d Add support for (unsigned) long long when long is 64bit 2017-09-11 15:55:54 +01:00
Günter Obiltschnig
a7a8571e25 NamedEvent/NamedMutex: change file open mode to read-only 2017-09-11 13:41:12 +02: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
Günter Obiltschnig
ef59b4bd67 merge poco-1.7.9 into poco-1.8.0 2017-09-09 09:53:28 +02:00
Günter Obiltschnig
3e5cf21cf3 added POCO_NO_DEPRECATED to disarm POCO_DEPRECATED macro 2017-09-08 12:16:43 +02:00
Günter Obiltschnig
522f743b86 added POCO_DEPRECATED macro 2017-09-08 11:51:17 +02:00
Günter Obiltschnig
968dfe77dc fixed typos and style 2017-09-01 20:54:11 +02:00
Günter Obiltschnig
3b735f6101 fixes for QNX support 2017-09-01 20:22:27 +02:00
Günter Obiltschnig
cf38f272a2 fixed GH #1865: AbstractEvent::hasDelegates() is not thread-safe 2017-08-31 08:30:01 +02:00
Günter Obiltschnig
85d0cfb9ed bumped version to 1.7.9 2017-08-11 15:29:17 +02:00
Günter Obiltschnig
fdf3d1729a fixed GH #1813: xmlparse.cpp doesn't compile in WinCE (poco 1.7.8p3)
updated changelog
bumped version to 1.7.8p4
2017-08-10 16:55:05 +02:00
Guenter Obiltschnig
2867d4c34b bump version number 2017-06-21 15:48:03 +02:00
Günter Obiltschnig
8237e9ba14 fix CipherImpl issue with OpenSSL 1.1 2017-04-18 11:42:39 +02:00
Guenter Obiltschnig
a141f9fbe1 fixed GH #1665: CipherImpl memory leak with OpenSSL 1.1 2017-04-16 08:32:57 +02:00
zosrothko
fcadb0a148 Backport patch for Power PC Little Endian 2017-02-22 22:56:06 +01:00
Guenter Obiltschnig
5e4d172312 fixed GH #1604: pcre_internal.h HAVE_STDINT_H usage changed from 1.7.7 to 1.7.8 breaking the build on older MSVC 2017-02-22 14:11:11 +01:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
9efedaafe3 style fix 2017-02-19 18:42:24 +01:00
zosrothko
d27043a213 Backport patch for Power PC with Little Endian 2017-02-19 18:21:57 +01:00
Guenter Obiltschnig
e4f5c66dfd fixed GH #1260: URI encoding 2017-02-17 09:23:36 +01:00
Guenter Obiltschnig
3de2358bdf another attempt at strerror_r(), using C++ power 2017-02-14 14:49:15 +01:00
Guenter Obiltschnig
1435c9ad97 revert changes to Error.cpp; it's hopeless with strerror_r()... 2017-02-14 14:35:56 +01:00
Guenter Obiltschnig
f18b7210f4 use strerror_r on Darwin 2017-02-14 14:10:26 +01:00
root
3b49520d63 another fix for strerror() with musl 2017-02-14 12:59:09 +00:00
Guenter Obiltschnig
1a7a1810f6 fix warning regarding unused return value 2017-02-14 13:46:03 +01:00
Günter Obiltschnig
21110e4ffa fixed a warning 2017-02-11 19:35:54 +01:00
Guenter Obiltschnig
c2aca1d109 GH #1538: update double-conversion to v1.1.5 2017-02-11 12:49:14 +01:00
Guenter Obiltschnig
6c207b5157 fixed GH #1549: Latin2Encoding and 0xFF 2017-02-11 12:27:33 +01:00
Guenter Obiltschnig
7d91a4bc94 GH #1586: Upgrade bundled PCRE to 8.40 2017-02-11 12:04:36 +01:00
Guenter Obiltschnig
f8a0bbff1b fixed GH #1581: Cannot find 'pcre.h' when using POCO_UNBUNDLED, a non-system PCRE, and CMake 2017-02-11 12:03:37 +01:00
Günter Obiltschnig
43a0490a70 fixed GH #1523: Long path names under Windows 2017-02-02 20:56:30 +01:00
Guenter Obiltschnig
960649d0ba fix for GH #1501: Alpine 3.4 trouble with Foundation/src/Error.cpp 2017-01-31 17:47:40 +01:00
Guenter Obiltschnig
8ed7dfecc5 fixed GH #1573: Poco::File::createDirectories() should not throw Poco::FileExistsException 2017-01-29 12:46:13 +01:00
Guenter Obiltschnig
c117619e1e upgraded bundled zlib to 1.2.11 2017-01-25 10:14:40 +01:00
Guenter Obiltschnig
be4acf00c9 added missing file to project 2017-01-24 16:45:59 +01:00
Guenter Obiltschnig
f45ab8e322 only use <atomic> header if C++11 support is available 2017-01-13 15:41:50 +01:00
Guenter Obiltschnig
bbecde0829 fixed GH #1536: Building with OS X 10.12 SDK and 10.7 deployment target without libc++ fails; updated Darwin build configurations 2017-01-10 16:57:22 +01:00
Guenter Obiltschnig
04812f5728 updated version numbers 2017-01-10 15:03:41 +01:00
Guenter Obiltschnig
690ba1da2b remove debug output 2016-12-29 15:00:45 +01:00
Guenter Obiltschnig
b32b314368 GH #865: FileChannel compress fails leaving empty .gz files 2016-12-29 14:19:42 +01:00
Guenter Obiltschnig
c8aa27381b more fixes related to GH #1453 2016-12-06 21:47:39 +01:00
Guenter Obiltschnig
376e703343 fixed GH #1453: _clock_gettime Symbol not found on Mac 10.11 [do not use clock_gettime() on Apple platforms, even if _POSIX_TIMERS indicates it's available] 2016-12-06 18:21:37 +01:00
Guenter Obiltschnig
c9c21de32a fixed GH #1488: Poco::ObjectPool shrinks if returned object is not valid 2016-12-05 22:46:43 +01:00
Guenter Obiltschnig
19c0b38bf8 On Apple platforms, use std::atomic with MacOS 10.12 or iOS 10 SDK. 2016-12-05 22:19:45 +01:00
Guenter Obiltschnig
84e0905b6f additional changes for #1499: fix warnings and be consistent with base class order 2016-11-28 00:23:05 +01:00
vm2mv
57f77bc622 Foundation: fixed exceptions handling in zlib-output-streams constructors 2016-11-21 16:43:27 +03:00
Guenter Obiltschnig
86483b4d4b fixed GH #990: Potential race condition in on Windows 2016-11-03 14:48:51 +01:00
Alexey Milovidov
6116136afe Fixed error with Poco::UTF8Encoding::isLegal (wrong result on illegal sequence "\xED\x20\xA8"). 2016-10-29 20:12:29 +02:00
Guenter Obiltschnig
34f85a0531 branched off release 1.7.7 2016-10-21 22:20:03 +02:00
Guenter Obiltschnig
8290da2a82 fixed GH #1456: better handle leap seconds in Poco::DateTime and Poco::LocalDateTime 2016-10-17 19:05:53 +02:00
root
895c3dfcd5 use std::unique_ptr instead of std::auto_ptr with C++11+ compilers to prevent std::auto_ptr deprecation warnings 2016-10-14 11:49:45 +02:00
Guenter Obiltschnig
59a78a55b5 added POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX configuration macro to disable *d.so, *d.dll suffix in SharedLibrary class 2016-10-10 11:56:58 +02:00
Guenter Obiltschnig
cdb2195ed3 fixed GH #1431: Poco/FIFOBuffer.h copy issue 2016-10-07 21:27:07 +02:00
Guenter Obiltschnig
737bd98b17 fixed GH #1403: Android compile with poco-1.7.5 no 'pthread_condattr_setclock' error 2016-10-07 21:05:57 +02:00
Günter Obiltschnig
4a96c934ba improvement of URIStreamOpener::open() implementation 2016-09-29 19:06:46 +02:00
Günter Obiltschnig
07f6f77d6e added URISyntaxException; better error handling in URIStreamOpener 2016-09-29 17:41:37 +02:00
Guenter Obiltschnig
8d053e259c fixed issues reported by Klocwork 2016-09-26 18:15:43 +02:00
Guenter Obiltschnig
7c43cc8ec2 fixed issues reported by Klocwork 2016-09-26 18:15:36 +02:00
Guenter Obiltschnig
e07dbdc718 removed unneeded members 2016-09-26 17:45:53 +02:00
Guenter Obiltschnig
6441479f4d fixed potential memory leak in out-of-memory situations 2016-09-26 17:39:29 +02:00
Guenter Obiltschnig
1fb56d8c8e fixed issues reported by Klocwork 2016-09-26 17:28:41 +02:00
Guenter Obiltschnig
d59ff2ac1e fixed an unlikely potential memory leak if one of two new fails 2016-09-26 16:51:13 +02:00
Guenter Obiltschnig
efd9d539e5 fixed GH #1418:Poco::Delegate assignment operator fails to compile for some specializations 2016-09-20 20:47:58 +02:00
Guenter Obiltschnig
00b448a0c5 merged fix for #1315 2016-09-14 17:10:16 +02:00
Guenter Obiltschnig
7c37f18f84 fixed some warnings and minor issues detected by clang-analyzer 2016-09-13 11:37:12 +02:00
Guenter Obiltschnig
14a1ae810f add CLANG_ANALYZER_NORETURN macro 2016-09-13 07:43:39 +02:00
Guenter Obiltschnig
192a5f179f fixed some warnings 2016-09-06 15:49:39 +02:00
Guenter Obiltschnig
d221a7eebd created poco-1.7.6 branch 2016-09-06 15:29:00 +02:00