Commit Graph

1664 Commits

Author SHA1 Message Date
Alex Fabijanic
558324f672 fix(double-conversion): Upgrade bundled double-conversion #3313 2021-06-16 15:52:56 +02:00
Günter Obiltschnig
1c248cd63f fix 'catching polymorphic type by value' warnings 2021-06-16 08:49:11 +02:00
Günter Obiltschnig
0693ff95f7 fix 'catching polymorphic type by value' warnings 2021-06-16 08:47:17 +02:00
Günter Obiltschnig
35a53d8f2d add comment regarding potential UB in AnyTest::testCastToReference() 2021-06-16 08:07:39 +02:00
Günter Obiltschnig
c512a69f3e #3092: add more detailed error description when LoadLibrary fails| 2021-06-15 16:03:06 +02:00
Günter Obiltschnig
19b2c5b415 #3274: Fix localtime_r for VxWorks 6.9 and later 2021-06-15 15:14:11 +02:00
Günter Obiltschnig
01720ce82b #3019: ObjectPool wait on borrow condition fix 2021-06-15 13:30:51 +02:00
Günter Obiltschnig
f6a0ede79a #2825: riscv: Enable double operations when using double float abi 2021-06-15 07:14:14 +02:00
Günter Obiltschnig
38fc5e5833 #3138: Add support of arch riscv32 2021-06-15 07:11:19 +02:00
Günter Obiltschnig
8e5a2c313b #3196: std::forward for Poco::Optional ctor with rvalue 2021-06-14 23:47:51 +02:00
Günter Obiltschnig
06fe07e7ad #3163: Correct Var::parse null value 2021-06-14 23:40:03 +02:00
Günter Obiltschnig
486d788a76 #3278: Fixing no hardware floating point support - Part II 2021-06-14 22:58:09 +02:00
Günter Obiltschnig
d7d39e54b3 #3182 Poco::Process:launch on MacOS BigSur: limit maximum number of file descriptors to close before exec() to 100000 2021-06-14 22:52:37 +02:00
Günter Obiltschnig
7d267378f5 Poco::trim*() code cleanup - use ptrdiff_t instead of int; additional test cases 2021-06-14 21:55:13 +02:00
Günter Obiltschnig
5c2cd1a4ff #3107: remove unused variable 2021-06-14 19:04:29 +02:00
Günter Obiltschnig
97ae6924dd #3130: fix error handling: report original error before close() 2021-06-14 18:59:56 +02:00
Günter Obiltschnig
90be9b0e53 #2906, #2904: Support environments without hardware floating point 2021-06-14 18:50:02 +02:00
Günter Obiltschnig
ee1ad75c2b #3022: fix for WinCE 2021-06-14 17:29:52 +02:00
Günter Obiltschnig
842f2599c0 #3022: Process::isRunning(PID pid) causes handle leak on Windows 2021-06-14 17:25:08 +02:00
Günter Obiltschnig
29dd13c83d bump version to 1.11.0 2021-06-06 14:31:15 +02:00
Günter Obiltschnig
fff8eb6f45 Fix typo: overriden -> overridden 2021-04-14 20:12:17 +02:00
Günter Obiltschnig
a8e11be069 formatting 2021-04-14 19:25:03 +02:00
Günter Obiltschnig
ce7e6eeea0 #3078: Fix typo in the ThreadPool's docs 2021-04-14 19:13:17 +02:00
Günter Obiltschnig
630afde3fd #3086: Use POCO_IOS_INIT_HACK for Linux in combination with libc++ 2021-04-12 20:15:30 +02:00
Günter Obiltschnig
bfe4213f54 #3044: Upgrade PCRE to 8.44 2021-04-11 21:08:18 +02:00
Günter Obiltschnig
53391151d1 PatternFormatter: add %O format specifier 2021-04-11 20:21:28 +02:00
Günter Obiltschnig
c5ee4b1184 #2989: setting priorityNames property on PatternFormatter has no effect 2021-04-11 17:26:13 +02:00
Günter Obiltschnig
0a2a175f8a make URI::getPathSegments() const 2021-04-11 16:37:41 +02:00
Günter Obiltschnig
12d3bf9c75 #2945: Iterating over Var containing empty container throws "Out of range" exception 2021-04-11 16:22:42 +02:00
Günter Obiltschnig
8625b29f9f add AbstractCache::forEach() 2021-04-11 15:58:19 +02:00
Günter Obiltschnig
9e36cea203 fix JSON object formatting and tests 2020-07-29 11:40:40 +02:00
Günter Obiltschnig
7e866396aa remove unnecessary escaping in JSONString 2020-07-29 08:59:44 +02:00
Günter Obiltschnig
75821fc591 create 1.10.2 branch 2020-07-29 08:57:35 +02:00
Daniil Zotkin
908ca6ec68 Fix percent-encoded fragment modification in Poco::URI
Before this commit using Poco::URI class to parse specific URIs that had
percent-encoded fragment identifier resulted in the loss of information
concerning the way the fragment identifier was encoded. There could be the cases
when the  result of Poco::URI object serialization to string did not match the
original URI string Poco::URI object was created from.

In this commit we change the internal logic of fragment processing in Poco::URI,
so that the fragment is stored inside the class in raw form (the same way as
query string). The methods getFragment and setFragment work the old way (with
percent-decoded fragment values), new methods getRawFragment and setRawFragment
are added to get access to the original fragment representation.
2020-03-18 17:23:09 +03:00
Günter Obiltschnig
4e92f3c2ab #2922: 1.10 cmake build fails on FreeBSD 11.2 Release 2020-02-16 18:48:31 +01:00
Günter Obiltschnig
d92200c5b7 #2908 improve check whether arg needs to be quoted 2020-02-14 21:16:43 +01:00
Günter Obiltschnig
4de9a21187 make CMake files style (more) consistent 2020-02-14 11:07:32 +01:00
Günter Obiltschnig
4f59aef815 remove non-UTF8 Windows platform support 2020-02-14 09:52:50 +01:00
Günter Obiltschnig
76012717b0 #2908 tests 2020-02-14 09:28:21 +01:00
Günter Obiltschnig
888d8e6fb9 commit missing file 2020-02-14 09:05:38 +01:00
Günter Obiltschnig
1cfe6b0f02 #2908: [Windows] Process arguments quoting is broken. 2020-02-14 09:03:03 +01:00
Günter Obiltschnig
dea91c8105 style fix 2020-02-13 22:08:44 +01:00
Günter Obiltschnig
23da8c21c9 fixed a bug in RefAnyCast causing a crash if the cast is invalid 2020-02-13 21:56:59 +01:00
Günter Obiltschnig
75a86ad868 remove POCO_STATIC 2020-02-12 22:10:01 +01:00
Günter Obiltschnig
29f745ff65 backport #2921 2020-02-12 20:15:02 +01:00
Günter Obiltschnig
4092984256 fix UTF16/UTF32Encoding wrong byte order handling on bigendian 2020-02-08 20:25:00 +01:00
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