Commit Graph

991 Commits

Author SHA1 Message Date
Günter Obiltschnig
90be9b0e53 #2906, #2904: Support environments without hardware floating point 2021-06-14 18:50:02 +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
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
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
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
4f59aef815 remove non-UTF8 Windows platform support 2020-02-14 09:52:50 +01:00
Günter Obiltschnig
888d8e6fb9 commit missing file 2020-02-14 09:05:38 +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
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
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
66d96744b1 merged GH #2641: Implement DataURIStream for extracting data from data URIs 2020-01-24 10:41:35 +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
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
53d4b266eb remove UnWindows.h stuff 2020-01-22 08:01:17 +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
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
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
Günter Obiltschnig
a31877372e additional move support for Nullable and Optional 2020-01-15 09:35:59 +01:00
Günter Obiltschnig
185493a82d fix CMake build of OpenSSL 2020-01-12 11:18:49 +01:00
Günter Obiltschnig
f63a7bbad5 added SHA2Engine 2020-01-12 08:58:36 +01:00
Günter Obiltschnig
6504039434 build fixes 2020-01-11 23:50:16 +01:00
Günter Obiltschnig
c7c6871c4a Android requires POCO_INT64_IS_LONG 2020-01-10 14:31:17 +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
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
Günter Obiltschnig
9c197e0ed1 finally get rid of std::auto_ptr 2019-12-15 09:40:40 +01:00
KevDi
fa20e056dd Changed Options Check in remaining File Impl Classes 2019-11-30 13:38:03 +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
d5a25f2053 Added the Options Enum advice. 2019-11-26 13:03:43 +01:00
Jan Kevin Dick
4e734553b3 Added FailOnOverwrite to File Class 2019-11-18 13:06:43 +01: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
325cfcb3c2 added SharedLibrary::setSearchPath() 2019-08-17 10:04:48 +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
dee86fbbfe bumped version to 1.10.0 2019-06-12 15:40:52 +02:00
Günter Obiltschnig
b961ea8148 added start() method that takes a Poco::SharedPtr to a Runnable 2019-02-23 13:46:54 -05: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
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
312dc3325b add struct tm support to DateTime #2365 2018-06-12 09:54:35 -05: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
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
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
zosrothko
d6d27036d2 PocoDoc fixes 2018-04-17 20:45:08 +02: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
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
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
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
5f5a358c5b bump version to 1.9.0 2018-02-17 10:39:51 +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
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
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
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
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
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
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
f3a31fbde9 Backport from feature-gradle.
Signed-off-by: zosrothko <zosrothko@orange.fr>
2017-11-01 09:00:33 +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
Alex Fabijanic
1a18621ff8 ifdef auto_ptr 2017-10-24 21:55:33 -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
09b229df2c Message Doesn't Support 64-bit Thread IDs #1913 2017-09-28 18:12:31 -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
Conor Burgess
fe693de41d Add support for (unsigned) long long when long is 64bit 2017-09-11 15:55:54 +01: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
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
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
c117619e1e upgraded bundled zlib to 1.2.11 2017-01-25 10:14:40 +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
c8aa27381b more fixes related to GH #1453 2016-12-06 21:47:39 +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
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
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
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
14a1ae810f add CLANG_ANALYZER_NORETURN macro 2016-09-13 07:43:39 +02:00
Guenter Obiltschnig
d221a7eebd created poco-1.7.6 branch 2016-09-06 15:29:00 +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
1657fe0fb0 created branch for version 1.8.0 2016-08-08 19:08:58 +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
60987f5949 fixed GH #1253: ListMap does not maintain insertion order if key already exists 2016-04-21 09:24:59 +02:00
Guenter Obiltschnig
d82b6b3975 branched off 1.7.3 2016-04-11 09:06:38 +02:00
Guenter Obiltschnig
65a92d4c5c updated version 2016-03-17 09:15:46 +01:00
Guenter Obiltschnig
f594c134ae updated version no. 2016-03-10 09:29:47 +01:00
Guenter Obiltschnig
c22a36dc05 added Poco::EventChannel class 2016-02-29 21:53:17 +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
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
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
41a0db4c41 fix inclusion of <pcre> when unbundling
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 15:27:13 +01:00
Kim Grasman
db635739c4 Fix #928: Workaround to fix -Wswitch warning 2015-11-10 09:38:17 +01:00
aaron0x
3066e66f32 Enhance FileChannel purge setting. 2015-10-02 09:35:18 +02:00
Guenter Obiltschnig
bcead85c25 remove GCC_DIAG_OFF 2015-09-30 12:16:09 +02:00
Guenter Obiltschnig
1d58c7436e fix unused type warning with poco_static_assert 2015-09-29 14:55:51 +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
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
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
f7e1bb4d7e StreamSocket::receiveBytes and FIFOBuffer issue in 1.6 #719 2015-03-28 20:06:15 -05:00
Pascal Bach
64710b2ff7 Add missing Path implementations for WINCE 2015-03-28 11:58:25 +01:00
martin-osborne
9b2e897280 Removed comment. 2015-01-25 10:05:59 +00:00
martin-osborne
c264a0d716 Restored original names for typedefs. Fixed gcc build. 2015-01-25 07:28:24 +00:00
martin-osborne
5e104addd3 Issue #297 - Implemented BasicMemoryStreamBuf::seekoff
This change adds support for `tellp`, `tellg` and seeking.

**Additional notes:**

+ `tellg` calls `rdbuf->pubseekoff(0, cur, out)` [lib.ostream.seeks] so need to
  provide an override of `seekoff`.
+ Requirements for `seekoff` are in 27.7.1.3.
+ 27.7.1.3 - Standard has a roundabout way of saying `cur` is valid if only one
  of `in` or `out` is specified (Condition 3).
+ `xend` is `egptr`/`epptr` (get area/put area).
+ `xbeg` is `eback`/`pbase` (get area/put area).
+ `xnext` is `gptr`/`pptr` (get area/put area).
+ `newoff` is a bit of a misnomer, the new offset into the stream is given by
  `newoff + off`.  `newoff` is really the start point.
+ You can set `gnext` with `setg`, but you can't do that with `setp` you have
  to `pbump` by the new offset minus the current offset.
2015-01-24 18:39:06 +00:00
Guenter Obiltschnig
92c607e767 code style and doc fixes 2015-01-09 19:04:58 +01:00
Scott Davis
5fa4dc3da7 Add missing constructor for RecursiveDirectoryIterator 2015-01-08 17:02:46 -05:00
Alex Fabijanic
d992509f6e GCC diagnostic guard fix 2015-01-05 22:20:58 -06:00
Aleksandar Fabijanic
4ae9aa9674 building with gcc 4.6.3 gives lots lots of warnings #658 2015-01-01 22:47:03 -06:00
Alex Fabijanic
eb04ffc423 style fixes 2015-01-01 12:35:26 -06:00
xantares
1e28368222 fixed win32 defines 2014-12-23 16:23:08 +01:00
Aleksandar Fabijanic
c5268c9777 spelling fix 2014-12-19 07:34:46 -06:00
Guenter Obiltschnig
28cf70d3f9 updated version no and changelog 2014-12-15 11:10:28 +01:00
Guenter Obiltschnig
1e471d7343 semantic versioning documentation 2014-12-11 20:11:20 +01:00
Alex Fabijanic
10aedfe5ad supress gcc warning avalanche 2014-12-08 20:14:19 -06:00
Günter Obiltschnig
ff3f260a10 fix warning, add note to Config.h regarding deprecation of POCO_WIN32_UTF8 2014-12-06 11:30:26 +01:00
Guenter Obiltschnig
31a0c7cb7e added deprecation warning for POCO_WIN32_UTF8 2014-12-06 11:13:44 +01:00
Guenter Obiltschnig
755c31a4fd Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-12-02 09:08:23 +01:00
Guenter Obiltschnig
9af6b5b2db flush underlying streams on close()/sync() 2014-12-02 09:08:07 +01:00
Christopher Baker
e0d5535b7a Fixed small documentation typo onr to one. 2014-12-01 12:39:02 -06:00
Günter Obiltschnig
5f8d7ef994 Thread fixes for WinCE 2014-11-24 14:34:27 +01:00
Guenter Obiltschnig
d5d048e689 Poco::BasicEvent improvements and preparations for future support of lambdas/std::function 2014-11-24 11:17:27 +01:00
Guenter Obiltschnig
6ddce4c9ff Timestamp reference point ambiguity #614 2014-11-21 09:32:13 +01:00
Guenter Obiltschnig
22c22fdea7 fixed GH #616: Visual Studio warning C4244 2014-11-20 12:13:58 +01:00
Guenter Obiltschnig
7b11e14624 GH #569: update documentation 2014-11-19 15:31:37 +01:00
Günter Obiltschnig
a417d49d5d improved URI documentation regarding setQuery()/getQuery(); added getQueryParameters()/setQueryParameters() 2014-11-19 10:38:59 +01:00
Guenter Obiltschnig
4b53f137de Thread fixes for POSIX 2014-11-16 20:51:11 +01:00
Günter Obiltschnig
7043a3d4ff added support for starting functors/lambdas to Poco::Thread class 2014-11-16 20:43:19 +01:00
Guenter Obiltschnig
eb8dce47fe fix #606: HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request body first parameter with BOM in name 2014-11-12 10:33:57 +01:00
Alex Fabijanic
8769ef01bc added Error::last() 2014-11-11 19:47:39 -06:00
Guenter Obiltschnig
fa4989e0c7 fixed #592: Incorrect format string in Poco::Dynamic::Struct 2014-11-07 10:43:50 +01:00
Günter Obiltschnig
0200c09985 Merge pull request #599 from zosrothko/develop
Add up to 10 arguments to variables arguments list for all level form: correcting missing udpate
2014-11-07 09:42:41 +01:00
zosrothko
46f3a7a637 Add up to 10 arguments to variables arguments list for all level formattin
Missing Format.h commit
2014-11-07 08:39:31 +01:00
Guenter Obiltschnig
6741e90bba style and consistency fixes 2014-11-06 12:04:28 +01:00
Günter Obiltschnig
5b74121119 Merge pull request #573 from ivannp/assertmsg
Added Timestamp::Min/Max. Added poco_assert_msg and poco_assert_msg_dbg.
2014-11-06 11:40:17 +01:00
zosrothko
1143a68518 Add up to 10 arguments to variables arguments list for all level formatting methods 2014-11-03 14:22:08 +01:00
Guenter Obiltschnig
656643e225 set version numbers for 1.6 2014-10-30 14:09:51 +01:00
Guenter Obiltschnig
721405d1fc #318: Logger local time doesn't automatically account for DST (PatternFormatter) 2014-10-30 14:06:13 +01:00
Ivan Popivanov
4707a6df83 Added Timestamp::Min/Max which help define extreme timestamps, useful to initialize variables, especially for comparison.
Added NOMINMAX as a preprocessor define for Windows. Otherwise some Windows headers define min/max as macros which interferes with std::numeric_limits::min/max

Added poco_assert_msg and poco_assert_msg_dbg, which are equivalent to poco_assert and poco_assert_dbg, respectively, but support an extra text parameter.
2014-10-14 22:41:49 -04:00
mar-na
368fff1c05 Supported little endian for MIPS 2014-10-13 15:12:07 +02:00
Guenter Obiltschnig
50f1f12cab Poco::URI: added new constructor to create URI from Path 2014-10-12 11:19:52 +02:00
Guenter Obiltschnig
5b0fa2e06a Poco::Buffer properly handles zero-sized buffers 2014-10-09 10:34:46 +02:00
Guenter Obiltschnig
ef34c21e91 added Clock::raw(); style fixes 2014-10-08 07:59:48 +02:00
Günter Obiltschnig
9ee4d0a36b Merge pull request #558 from ivannp/develop
Adding Timestamp::raw
2014-10-08 07:56:04 +02:00
Ivan Popivanov
cab8224cc3 Adding Timestamp::raw
Returns the raw value, (the internal representation) of the timestamp.
Useful when storing to a database for instance.
2014-10-08 01:51:06 -04:00
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05:00