Guenter Obiltschnig
955f409177
On Apple platforms, use std::atomic with MacOS 10.12 or iOS 10 SDK.
...
Conflicts:
Foundation/include/Poco/AtomicCounter.h
2016-12-06 21:52:58 +01:00
Guenter Obiltschnig
feedbbbea5
more fixes related to GH #1453
...
Conflicts:
Foundation/include/Poco/AtomicCounter.h
2016-12-06 21:50:21 +01:00
Guenter Obiltschnig
710845f023
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:22:34 +01:00
Guenter Obiltschnig
9c436860b3
ObjectPool: gracefully handle case if push_back() throws
2016-12-06 00:03:39 +01:00
vm2mv
780430487b
Foundation: fixed exceptions handling in zlib-output-streams constructors
2016-11-22 13:55:36 +01:00
Tomaz Beltram
8265d1b28e
GH #1488 : fixed ObjectPool size handling
2016-11-16 14:17:17 +01:00
Guenter Obiltschnig
efdeadef2a
fixed GH #990 : Potential race condition in on Windows
2016-11-03 14:49:25 +01:00
Alexey Milovidov
95590d620e
Fixed error with Poco::UTF8Encoding::isLegal (wrong result on illegal sequence "\xED\x20\xA8").
2016-10-29 20:27:28 +03:00
Guenter Obiltschnig
8293f93f7a
use std::unique_ptr instead of std::auto_ptr with C++11 or newer compilers to avoid std::auto_ptr deprecation warnings
2016-10-14 12:01:25 +02:00
Guenter Obiltschnig
8888d3daae
added POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX configuration macro to disable *d.so, *d.dll suffix in SharedLibrary class
2016-10-10 12:07:58 +02:00
Guenter Obiltschnig
b02d8cecdb
fixed GH #1431 : Poco/FIFOBuffer.h copy issue
2016-10-07 21:27:46 +02:00
Guenter Obiltschnig
29010bc6ad
fixed GH #1403 : Android compile with poco-1.7.5 no 'pthread_condattr_setclock' error
2016-10-07 21:06:59 +02:00
Günter Obiltschnig
a73eef0487
improvement of URIStreamOpener::open() implementation
2016-09-29 19:07:52 +02:00
Guenter Obiltschnig
e87a3a6e45
style fix
2016-09-29 17:44:34 +02:00
Günter Obiltschnig
5d8faa371e
added URISyntaxException; better error handling in URIStreamOpener
2016-09-29 17:42:49 +02:00
Guenter Obiltschnig
18e594e7ff
fixed issues reported by Klocwork
2016-09-26 19:22:47 +02:00
Guenter Obiltschnig
78f954f58f
fixed issues reported by Klocwork
2016-09-26 19:22:32 +02:00
Guenter Obiltschnig
8935e19bbc
fixed potential memory leak in out-of-memory situations
2016-09-26 19:19:14 +02:00
Guenter Obiltschnig
5d750ac8ed
fixed issues reported by Klocwork
2016-09-26 19:18:44 +02:00
Guenter Obiltschnig
68e3676ddc
fixed an unlikely potential memory leak if one of two new fails
2016-09-26 19:16:54 +02:00
Guenter Obiltschnig
ad1be5fe87
fixed GH #1418:Poco::Delegate assignment operator fails to compile for some specializations
2016-09-20 20:48:36 +02:00
Guenter Obiltschnig
dcdcee5afa
minor fixes for style
2016-09-14 17:06:55 +02:00
Günter Obiltschnig
f0402f2773
Merge pull request #1315 from kimgr/bugcheck-abort
...
Redefine Poco assertions for static analysis
2016-09-14 16:49:27 +02:00
Guenter Obiltschnig
ae3c4a4ba3
fixed some warnings and minor issues detected by clang-analyzer
...
Conflicts:
Data/src/RecordSet.cpp
2016-09-13 11:40:59 +02:00
Günter Obiltschnig
47b4ef97db
Merge pull request #1399 from CosminCremarenco-Murex/fix-starts-with-ends-with
...
Fix String.h startsWith/endsWith
2016-09-07 09:14:40 +02:00
CREMARENCO Cosmin
c0906ab5aa
Fix failing testStartsWith: startsWith/endsWith will dereference invalid string iterator when the prefix/suffix is longer than the actual length of the string
2016-09-06 17:18:25 +02:00
Guenter Obiltschnig
60f5d630b3
fixed a unused warning
2016-09-06 15:25:41 +02:00
Günter Obiltschnig
ff2d8b65c7
Revert "GH #1050 JSON: fix gcc -Wshadow warnings"
2016-09-05 08:37:47 +02:00
Günter Obiltschnig
7491374264
Revert "GH #1050 Net: fix gcc -Wshadow warnings"
2016-09-05 08:35:17 +02:00
Günter Obiltschnig
81b140e0a9
Revert "GH #1050 NetSSL_OpenSSL: fix gcc -Wshadow warnings"
2016-09-05 08:31:43 +02:00
Günter Obiltschnig
f7d3737526
Revert "GH #1050 Foundation-tests: fix gcc -Wshadow warnings"
2016-09-05 08:28:18 +02:00
Günter Obiltschnig
1683dd18ae
Revert "GH #1050 Util tests: fix gcc -Wshadow warnings"
2016-09-05 08:27:13 +02:00
Guenter Obiltschnig
7150a6da00
style fix
2016-08-27 08:34:46 +02:00
Günter Obiltschnig
63b3e23049
Merge pull request #1361 from CosminCremarenco-Murex/tilde-expansion
...
Shell expansion rules say that tilde must be replaced with $HOME before calling getpwuid
2016-08-27 08:27:38 +02:00
Guenter Obiltschnig
6b85acab07
added Poco::SingletonHolder::reset()
2016-08-27 08:23:27 +02:00
CREMARENCO Cosmin
9d81f54067
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-24 12:16:47 +02:00
Guenter Obiltschnig
64635f7c8b
- prefer clock_getttime() over gettimeofday() if available
...
- use CLOCK_MONOTONIC for POSIX condition in Poco::Event and Poco::Semaphore if supported
2016-08-11 13:00:22 +02:00
Guenter Obiltschnig
a1b8f96111
fixed a potential buffer overrun in Path_WIN32U.cpp (noncritical, as the failing code should never be reached)
2016-08-03 17:25:36 +08:00
Guenter Obiltschnig
8e7018df90
#1319 : remove call to poco_unexpected()
2016-08-02 13:11:04 +08:00
Günter Obiltschnig
cab7142a4e
Merge pull request #1319 from ObjSal/develop
...
Fixes an issue in DirectoryWatcher where it stops listening for events
2016-08-02 13:07:14 +08:00
Salvador Guerrero
5be13279cb
Fixes an issue in DirectoryWatcher where it stops listening for events after a batch deletion
2016-07-19 23:24:18 -06:00
Kim Grasman
dd4a3b583a
Redefine Poco assertions for static analysis
...
Static analyzers typically don't do cross-translation unit analysis, so
they don't understand that most of the Poco::Bugcheck methods never
return.
Unfortunately, some of them also don't understand noreturn annotations
(see e.g. http://en.cppreference.com/w/cpp/language/attributes ), so
decorating Bugcheck doesn't help.
Instead redefine all the Poco assertion macros to just call abort() iff
we're parsed by a known static analyzer.
2016-07-13 15:14:45 +02:00
Guenter Obiltschnig
b3e2bdede9
added test for ws/wss schemes
2016-07-03 11:59:16 +02:00
Guenter Obiltschnig
4bc95aaedf
fixed GH #1304 : URI doesn't know ws:/ or wss:// schemes
2016-07-03 11:20:48 +02:00
Aleksandar Fabijanic
d6ebf591a6
Merge pull request #1286 from hakan-akan/patch-1
...
Update Platform_WIN32.h
2016-05-27 20:59:29 -05:00
Aleksandar Fabijanic
5e75f7db27
Merge pull request #1279 from hakan-akan/develop
...
Added preprocessor guards for "define"s.
2016-05-27 20:59:18 -05:00
hakan-akan
eec6f09f71
Update Platform_WIN32.h
...
Default move semantics are not supported with 2012 (1700).
2016-05-27 18:54:57 -07:00
hakan
49a4eb7eb6
Added preprocessor guards for "define"s.
2016-05-19 13:02:41 -07:00
Miklos Vajna
4421048c78
GH #1050 Util tests: fix gcc -Wshadow warnings
2016-05-11 09:55:43 +02:00
Miklos Vajna
e170400bfd
Foundation: fix memory leaks in Logger sample
2016-05-09 21:15:41 +02:00