Commit Graph

1768 Commits

Author SHA1 Message Date
Günter Obiltschnig
ed2f6b813e GH #2909: fix SHA2Engine for big-endian architectures 2020-02-08 16:09:37 +01:00
Günter Obiltschnig
e51449e159 AutoPtr and SharedPtr comparison with nullptr 2020-02-07 18:13:22 +01:00
Günter Obiltschnig
c4bdadffb3 #2787: add queueSize property to the AsyncChannel 2020-02-04 10:53:01 +01:00
Günter Obiltschnig
6e321e6256 #2791: allow pre-allocation of the buffer in LogStreamBuf 2020-02-04 09:45:26 +01:00
Günter Obiltschnig
fafa92d353 #2818: Add getSpecifiedPort() method to URI 2020-02-04 09:06:49 +01:00
Günter Obiltschnig
8d227dc8d3 bump version to 1.10.1 2020-02-04 08:52:26 +01:00
Günter Obiltschnig
d7f3ba9f95 fixed CppUnit includes 2020-01-26 15:18:12 +01:00
Günter Obiltschnig
b6f176f384 fixed CppUnit includes 2020-01-26 13:54:32 +01:00
Günter Obiltschnig
7f071c9171 use correct printf format spec for UIntPtr 2020-01-26 10:32:06 +01:00
Günter Obiltschnig
958387b6ba improved Lambda support 2020-01-26 08:41:22 +01:00
Günter Obiltschnig
701a34f2e7 add additional overloads for Poco::format 2020-01-24 13:42:46 +01:00
Günter Obiltschnig
3ccc2baaf8 updated project files 2020-01-24 10:51:17 +01:00
Günter Obiltschnig
66d96744b1 merged GH #2641: Implement DataURIStream for extracting data from data URIs 2020-01-24 10:41:35 +01:00
Günter Obiltschnig
958ce15bb5 fixed GH #2624: Poco::FileChannel/Poco:LogFileImpl::writeImpl() on Windows should translate \n to \r\n. 2020-01-23 11:26:26 +01:00
Günter Obiltschnig
f7f51b059a fix Buffer move ctor/assignment 2020-01-23 08:14:55 +01:00
Günter Obiltschnig
1cdc77ebc1 fixed GH #2812: String trimInPlace crashes with 0 size on Visual Studio Express 2017 2020-01-22 13:26:29 +01:00
Günter Obiltschnig
0865fcf039 mark some tests as long-running 2020-01-22 13:06:49 +01:00
Günter Obiltschnig
eddcd7664c #2853: make it actually compile 2020-01-22 12:50:47 +01:00
Günter Obiltschnig
15ac1aec08 fixed GH #2853: Poco::Process::launch process environment unicode support is broken on Windows 2020-01-22 12:34:48 +01:00
Günter Obiltschnig
4d0eeb257e fix raw pointer usage 2020-01-22 09:22:35 +01:00
Günter Obiltschnig
924cdf235c GH #2689: Added tryWait() into Process and ProcessHandle. Handle kill()-ed UNIX process exit codes. 2020-01-22 08:23:36 +01:00
Günter Obiltschnig
5f0e0a0374
Merge pull request #2867 from vfjpl/poco-1.10.0
unescape Backslash char in UTF8 unescape method
2020-01-22 08:09:14 +01:00
Günter Obiltschnig
53d4b266eb remove UnWindows.h stuff 2020-01-22 08:01:17 +01:00
Günter Obiltschnig
7f7c2f5484 fixed GH #2772: On iOS real device (not simulator) the home directory is not usable 2020-01-22 06:53:13 +01:00
Günter Obiltschnig
bd3c75293e fixed GH #2824: Poco::Environment missing UTF8/wstring support on Windows 2020-01-21 21:36:08 +01:00
Günter Obiltschnig
2327592bab fixed GH #2217: UUIDGenerator should allow random seed 2020-01-21 21:30:48 +01:00
Günter Obiltschnig
71585b7daa #2152: XDG support 2020-01-21 21:20:35 +01:00
Günter Obiltschnig
2018a698ba fix assignment operator 2020-01-21 19:58:38 +01:00
Günter Obiltschnig
eeb64cc340 fix move ctor/assignment 2020-01-21 19:58:12 +01:00
Günter Obiltschnig
18adb1e43b code cleanup; fix move ctors and assignment 2020-01-21 17:52:43 +01:00
Günter Obiltschnig
0658044260 fixed another issue with backslash handling in Var JSON parsing 2020-01-20 14:40:07 +01:00
Feng Hao
b8320ccb7b fix Dynamic::Var parse string issue 2020-01-20 19:09:22 +08:00
Günter Obiltschnig
6058f5dd23
Merge pull request #2881 from Ludorg/poco-1.10.0
Add an option to force the use of PollingDirectoryWatcherStrategy
2020-01-17 08:34:10 +01:00
Ludovic LIEVRE
15e96159e2 Option to force PollingDirectoryWatcherStrategy
Add an option to force the use of PollingDirectoryWatcherStrategy
Should work on any platform
(Not Linux only)

See previous PR on this topic :
https://github.com/pocoproject/poco/pull/2881

On Linux, inotfy does not work for network volumes (such as NFS).

See https://stackoverflow.com/questions/4231243/inotify-with-nfs

By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h,
the use of PollingDirectoryWatcherStrategy is forced.

This is not the same behavior as flag POCO_NO_INOTIFY.
This only disables compilation of DirectoryWatcher.
2020-01-15 21:48:36 +00:00
Ludovic LIEVRE
b651764007 Option to force PollingDirectoryWatcherStrategy
Add an option to force the use of PollingDirectoryWatcherStrategy
Should work on any platform
(Not Linux only)

See previous PR on this topic :
https://github.com/pocoproject/poco/pull/2881

On Linux, inotfy does not work for network volumes (such as NFS).

See https://stackoverflow.com/questions/4231243/inotify-with-nfs

By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h,
the use of PollingDirectoryWatcherStrategy is forced.

This is not the same behavior as flag POCO_NO_INOTIFY.
This only disables compilation of DirectoryWatcher.
2020-01-15 21:38:51 +00:00
Joerg-Christian Boehme
10b99ad95a Set PATH for ProcessTests 2020-01-15 17:03:08 +01:00
Joerg-Christian Boehme
611a455165 Set absolute LD_LIBRARY_PATH in Foundation test 2020-01-15 12:21:23 +01:00
Günter Obiltschnig
a31877372e additional move support for Nullable and Optional 2020-01-15 09:35:59 +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
ca85c2e084 fix CppUnit includes 2020-01-12 20:58:07 +01:00
Günter Obiltschnig
185493a82d fix CMake build of OpenSSL 2020-01-12 11:18:49 +01:00
Günter Obiltschnig
599fa8f24b updated project files 2020-01-12 09:23:55 +01:00
Günter Obiltschnig
4db35d016c remove progen support for Foundation lib and testsuite 2020-01-12 09:04:07 +01:00
Günter Obiltschnig
f63a7bbad5 added SHA2Engine 2020-01-12 08:58:36 +01:00
Günter Obiltschnig
39a0439132 revert Foundation project files 2020-01-11 23:59:05 +01:00
Günter Obiltschnig
6504039434 build fixes 2020-01-11 23:50:16 +01:00
Günter Obiltschnig
fce1f89aff fix CppUnit includes 2020-01-11 22:51:54 +01:00
Günter Obiltschnig
165f5cfd20 re-generated project files 2020-01-11 22:33:28 +01:00
Günter Obiltschnig
79709b72b8 fix project files 2020-01-11 14:01:54 +01:00
Günter Obiltschnig
23c73d325f project files 2020-01-11 13:10:07 +01:00
Günter Obiltschnig
d4ee76de33 fix projects 2020-01-11 13:07:11 +01:00
Günter Obiltschnig
27a3812264 project files 2020-01-11 13:02:52 +01:00
Günter Obiltschnig
4c1e357e4a project file fixes 2020-01-11 12:45:39 +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
7872c35324 remove POCO_WIN32_UTF8 2020-01-10 15:58:16 +01:00
Günter Obiltschnig
c7c6871c4a Android requires POCO_INT64_IS_LONG 2020-01-10 14:31:17 +01:00
Günter Obiltschnig
59898cd3c2 remove old VS project files 2020-01-10 14:26:36 +01:00
Ludovic LIEVRE
42629d1ed4 add an option to force the use of PollingDirectoryWatcherStrategy on Linux 2020-01-10 09:54:19 +00:00
Günter Obiltschnig
c462b76b08 Merge branch 'poco-1.10.0-modernize' of github.com:pocoproject/poco into poco-1.10.0-modernize 2020-01-09 18:51:04 +01:00
Günter Obiltschnig
b7ad1f6c3a fixed mix of raw and smart pointers 2020-01-09 18:50:50 +01:00
Guenter Obiltschnig
f7fc4a239f fixed more issues discovered while testing on Linux 2020-01-09 17:43:31 +00:00
Günter Obiltschnig
aa46e9b6e4 fixed type overloads 2020-01-09 18:02:29 +01:00
Günter Obiltschnig
03d1dd9822 fixes for macos/clang 2020-01-09 11:53:03 +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
50e9d35c3c remove deprecated std::pointer_to_unary_function 2020-01-04 11:28:24 +01:00
Kacper Piwiński
29de485a46 unescape Backslash char in UTF8 unescape method 2019-12-16 22:43:40 +01:00
Günter Obiltschnig
9c197e0ed1 finally get rid of std::auto_ptr 2019-12-15 09:40:40 +01:00
Günter Obiltschnig
56fe4eaf97
Merge pull request #2842 from KevDi/feature/FileFailOnOverwrite
File fail on overwrite
2019-12-09 08:37:33 +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
KevDi
fa20e056dd Changed Options Check in remaining File Impl Classes 2019-11-30 13:38:03 +01:00
KevDi
f6f8ef8681 Merge branch 'feature/FileFailOnOverwrite' of github.com:KevDi/poco into feature/FileFailOnOverwrite 2019-11-30 13:21:34 +01:00
KevDi
7f3271f1d0 Changes 2019-11-30 13:21:23 +01:00
Jan Kevin Dick
0a9525044d Added Fix to put Options inside the File Impl Classes 2019-11-27 14:44:55 +01:00
Jan Kevin Dick
9daaec4ec0 Updated Comments and fixed bug within the Unix File Implementation 2019-11-26 14:10:32 +01:00
Jan Kevin Dick
3424ee7bc8 Merge branch 'feature/FileFailOnOverwrite' of https://github.com/KevDi/poco into feature/FileFailOnOverwrite 2019-11-26 13:04:49 +01:00
Jan Kevin Dick
d5a25f2053 Added the Options Enum advice. 2019-11-26 13:03:43 +01:00
Günter Obiltschnig
a7cbff393e
Merge pull request #2815 from brice-gros/brice.gros/1.10.0+allow-for-cmake-fetchcontent
Make Poco git repository fetchable using CMake's FetchContent
2019-11-25 21:24:16 +01:00
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
Guenter Obiltschnig
f89bea4411 - prefer clock_getttime() over gettimeofday() if available
- use CLOCK_MONOTONIC for POSIX condition in Poco::Event and Poco::Semaphore if supported
2016-08-28 15:25:55 +02:00
Guenter Obiltschnig
88c74fdf44 style fix 2016-08-27 08:31:32 +02:00
CREMARENCO Cosmin
b5b6135f94 Shell expansion rules say that tilde must be replaced with HOME if it exists and only after that we can look at getpwuid 2016-08-27 08:27:58 +02:00
Guenter Obiltschnig
46c6953bdf added Poco::SingletonHolder::reset() 2016-08-27 08:22:25 +02:00
Guenter Obiltschnig
9ccfcab380 created poco-1.7.5 branch 2016-08-25 08:35:07 +02:00
Guenter Obiltschnig
dda9d57d1c - prefer clock_getttime() over gettimeofday() if available
- use CLOCK_MONOTONIC for POSIX condition in Poco::Event and Poco::Semaphore if supported
2016-08-11 12:46:20 +02:00
Guenter Obiltschnig
1657fe0fb0 created branch for version 1.8.0 2016-08-08 19:08:58 +02:00
Guenter Obiltschnig
f848106fca added test for ws/wss schemes 2016-07-03 11:58:25 +02:00
Guenter Obiltschnig
c337634b8e fixed GH #1304: URI doesn't know ws:/ or wss:// schemes 2016-07-03 11:20:11 +02:00
Guenter Obiltschnig
de8d379d26 created branch for 1.7.4 release 2016-07-03 09:54:50 +02:00
Guenter Obiltschnig
27f41ee785 merge changes from develop 2016-04-21 09:36:53 +02:00
Guenter Obiltschnig
50240732f9 pre c++11 fixes 2016-04-21 09:25:26 +02:00
Guenter Obiltschnig
60987f5949 fixed GH #1253: ListMap does not maintain insertion order if key already exists 2016-04-21 09:24:59 +02:00
Guenter Obiltschnig
7448e16b76 style fixes 2016-04-16 09:41:08 +02:00
Günter Obiltschnig
913346c23d fixes for compatibility
Conflicts:
	Foundation/src/Process_WIN32.cpp
	Foundation/src/Process_WIN32U.cpp
2016-04-15 17:50:47 +02:00
Tony Abbott
6d17089b6c GH #1222 Escape command line arguments passed to Process::launch() on Windows
Conflicts:
	Foundation/testsuite/src/TestApp.cpp
2016-04-15 17:43:38 +02:00
Guenter Obiltschnig
d82b6b3975 branched off 1.7.3 2016-04-11 09:06:38 +02:00
Guenter Obiltschnig
9d21ddd8ca fixed GH #1204: getdtablesize has been removed on Android 21 2016-03-17 11:19:32 +01:00
Guenter Obiltschnig
65a92d4c5c updated version 2016-03-17 09:15:46 +01:00
Guenter Obiltschnig
7bcbbd7a35 fixed GH #1180: Possible deadlock when TaskManager::count is called in onFinished 2016-03-10 16:47:46 +01:00
Guenter Obiltschnig
f594c134ae updated version no. 2016-03-10 09:29:47 +01:00
Guenter Obiltschnig
15d1d0f1a2 build fixes 2016-03-05 14:29:34 +01:00
Günter Obiltschnig
aabb406794 updated project files 2016-03-04 10:25:12 +01:00
Guenter Obiltschnig
c22a36dc05 added Poco::EventChannel class 2016-02-29 21:53:17 +01:00
Guenter Obiltschnig
f83d759890 one more fix for #1002 2016-02-29 19:12:21 +01:00
Guenter Obiltschnig
f6cc0f7e8a updated CHANGELOG and version numbers 2016-02-29 11:19:38 +01:00
Günter Obiltschnig
3d1a094725 Merge pull request #1026 from zosrothko/Cygwin
Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
2016-02-28 15:29:08 +01:00
Guenter Obiltschnig
8c607d3213 fixed GH #1128: Poco::NumberFormatter::format(float, precision) rounding changed 2016-02-28 13:32:54 +01:00
Guenter Obiltschnig
a53e80f761 fixed GH #1002: ActiveDispatcher saves reference to event context after event was performed until it gets new event 2016-02-27 17:49:18 +01:00
Guenter Obiltschnig
925caa8dd3 fixed GH #1141: Poco::StringTokenizer::TOK_TRIM changes behavior between 1.4 and 1.6 2016-02-27 16:10:06 +01:00
Guenter Obiltschnig
f2ed9cc606 support for Win8/Win10 2016-02-22 11:51:51 +01:00
Guenter Obiltschnig
53c07395c5 fix merge issue 2016-02-13 23:38:00 +01:00
Guenter Obiltschnig
2522aefaf0 fix comment; don't send TaskProgressNotification if progress does not change
Conflicts:
	Foundation/src/Task.cpp
2016-02-13 20:24:31 +01:00
FrancisANDRE
e9c43f0d59 Add missing PocoJSON PocoXML
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-16 13:49:18 +01:00
Guenter Obiltschnig
910e2f3f29 fix error handling in setThreadName (#1022) 2015-11-13 11:11:32 +01:00
FrancisANDRE
b8e89231fc CMake: add -DPOCO_UNBUNDLED when unbundling.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 16:07:28 +01:00
FrancisANDRE
41a0db4c41 fix inclusion of <pcre> when unbundling
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 15:27:13 +01:00
FrancisANDRE
603e43ee7d Revert "Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.""
This reverts commit e1c0db371d.
2015-11-10 14:19:06 +01:00
FrancisANDRE
e1c0db371d Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined."
This reverts commit 7d7bbfe5b2.
2015-11-10 14:11:08 +01:00
FrancisANDRE
7d7bbfe5b2 avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:09:53 +01:00
FrancisANDRE
9dc9aa7d17 use /dev/tty instead of /dev/consile for Cygwin
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:08:35 +01:00
FrancisANDRE
b4b42d2215 avoid testing FPE when POCO_NO_FPENVIRONMENT is defined
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:07:40 +01:00
FrancisANDRE
0b309571de add $pcre_utf8_objects to objects when building an unbundled version
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:06:51 +01:00
Kim Grasman
db635739c4 Fix #928: Workaround to fix -Wswitch warning 2015-11-10 09:38:17 +01:00
Guenter Obiltschnig
e3f98b554a GH #1022: clean-up setThreadName 2015-11-10 09:27:15 +01:00
Alex Boyd
40c2df1c52 overwrite existing files on windows when moving files 2015-10-09 09:36:30 +02:00
aaron0x
3066e66f32 Enhance FileChannel purge setting. 2015-10-02 09:35:18 +02:00
Guenter Obiltschnig
c6d3d08203 fix Foundation/samples CMakeLists.txt 2015-09-30 16:04:58 +02:00
Guenter Obiltschnig
bcead85c25 remove GCC_DIAG_OFF 2015-09-30 12:16:09 +02:00
Guenter Obiltschnig
4894222fe9 remove testcase causing travis failure 2015-09-30 11:10:35 +02:00
Guenter Obiltschnig
1d58c7436e fix unused type warning with poco_static_assert 2015-09-29 14:55:51 +02:00
Guenter Obiltschnig
8257b5aa71 tvOS support 2015-09-29 14:31:44 +02:00
Guenter Obiltschnig
d89c841298 setThreadName: abbreviate thread name if too long 2015-09-28 22:49:06 +02:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00
Guenter Obiltschnig
7e67335a97 added comments regarding encoding/decoding to getPath*() 2015-09-14 10:58:18 +02:00
Guenter Obiltschnig
883b1dac13 added comment regarding query strings (#767) 2015-09-14 10:58:05 +02:00
Guenter Obiltschnig
d3382b5934 NumberParser::parseHex[64](): allow 0x/0X prefix 2015-09-11 08:18:17 +02:00
Guenter Obiltschnig
b083364a94 fix GH #931: make strToInt() more strict in what it accepts 2015-09-11 08:16:44 +02:00
Guenter Obiltschnig
2d87888140 #921: better comment, provide workaround for MSVC only 2015-09-11 07:58:56 +02:00
Guenter Obiltschnig
3fa63fb502 another attempt at fixing #921 2015-09-11 07:58:26 +02:00
Guenter Obiltschnig
bceee7907d set-up poco-1.6.2 branch 2015-09-11 07:45:59 +02:00
Guenter Obiltschnig
25b7adb32e fix Version.h 2015-08-04 07:15:47 +02:00
Guenter Obiltschnig
aee279719b MemoryStreamTest: workaround for clang/OS X 2015-08-01 12:11:35 +02:00
Günter Obiltschnig
4f0b692d66 added project and solution files for VS2015 2015-08-01 10:29:32 +02:00
Guenter Obiltschnig
1839606332 merge fix for #722 2015-07-31 12:32:52 +02:00
Guenter Obiltschnig
84094a4764 integrate fix for #769 2015-07-31 12:18:44 +02:00
Guenter Obiltschnig
e4dcb85c1f merge fix for #878 2015-07-31 12:17:20 +02:00
Aleksandar Fabijanic
5781bcbe35 FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869 2015-06-23 21:07:01 -05:00
Aleksandar Fabijanic
bd057090c3 Var BadCastException #861 2015-06-10 09:04:19 -05:00
Alex Fabijanic
25cd53d953 Poco::Var operator== throws exception #769 2015-04-03 10:46:07 -05:00
Alex Fabijanic
f7e1bb4d7e StreamSocket::receiveBytes and FIFOBuffer issue in 1.6 #719 2015-03-28 20:06:15 -05:00