Commit Graph

1293 Commits

Author SHA1 Message Date
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
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
Guenter Obiltschnig
5c1d0b8568 style fix 2016-05-05 10:54:02 +02:00
Günter Obiltschnig
ac4f0625fd Merge pull request #1131 from Kampbell/DynamicIgnoredToken
Make the Token ignore property a dynamic property.
2016-05-05 10:51:37 +02:00
Alex Fabijanic
95bb6bfeea Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2016-04-23 14:53:56 -06:00
Alex Fabijanic
0286d245ab Only escape string values in Poco::JSON::Stringifier::stringify() #1027 2016-04-23 14:52:03 -06:00
Aleksandar Fabijanic
4b6c11242c Merge pull request #1245 from aaron0x/develop
implement startsWith and endsWith.
2016-04-23 14:04:20 -05:00
Guenter Obiltschnig
a8962bb3b3 fixed GH #1253: ListMap does not maintain insertion order if key already exists
Conflicts:
	Foundation/include/Poco/ListMap.h
2016-04-21 09:34:13 +02:00
Benoît Bleuzé
76254ca055 Improves timestamp resolution on Unix systems
Adds microsecond precision when possible on Linux,
BSD and Apple systems.

Uses platform specific `struct stat`, and `utimes()`,
instead of `utime()`.
2016-04-17 20:20:34 +02:00
aaron0x
43d96a5bcb implement startsWith and endsWith. 2016-04-18 01:14:13 +08:00
Guenter Obiltschnig
9710a828a3 style fixes (something messed up if-else formatting) 2016-04-16 09:39:24 +02:00
Günter Obiltschnig
3e0d788162 fixes for compatibility 2016-04-15 17:40:09 +02:00
Tony Abbott
1db7811ce5 GH #1222 Escape command line arguments passed to Process::launch() on Windows 2016-04-15 16:45:41 +02:00
Aleksandar Fabijanic
3c735ff6b0 remove comment 2016-04-04 20:17:52 -05:00
Jörg Krause
30159aea4b GNU version of strerror_r not available on musl
The GNU version of glibc' `strerror_r` is non-portable.

When the POSIX and GNU API collides musl always provides the POSIX API. That
being the case for `strerror_r` musl does only support the POSIX version,
despite of `_GNU_SOURCE`.
2016-04-04 21:02:17 +02:00
Miklos Vajna
2b6eb3fd76 GH #1050 Foundation-tests: fix gcc -Wshadow warnings 2016-04-01 11:38:25 +02:00
Aleksandar Fabijanic
3bf6c38eee Update comment 2016-03-28 23:24:59 -07:00
FrancisANDRE
620d9e109d Merge remote-tracking branch 'pocoproject/develop' into IncreaseLoggerAdicity 2016-03-25 15:12:01 +01:00
FrancisANDRE
fd442f100e Remove unused code. Extends Logger::testFormatAny up to 15 args.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-25 10:04:42 +01:00
liuluheng
8f7afd4c99 Update DirectoryIteratorStrategy.cpp 2016-03-25 08:48:33 +08:00
liuluheng
6d0e71e68d fix #1211
add try...catch to both DFS and BFS
2016-03-24 12:43:13 +08:00
Aleksandar Fabijanic
884949a217 Merge pull request #1195 from vmiklos/netssl-openssl-wshadow-fixes
GH #1050 NetSSL_OpenSSL: fix gcc -Wshadow warnings
2016-03-14 23:25:35 -07:00
Miklos Vajna
617f2635ad GH #1050 NetSSL_OpenSSL: fix gcc -Wshadow warnings 2016-03-14 16:09:50 +01:00
Aleksandar Fabijanic
00a787e0cb Merge pull request #945 from aaron0x/RefactoryBinaryReaderWriter
Refactory BinaryReader and BinaryWriter
2016-03-13 23:08:44 -07:00
Alex Fabijanic
2a80322ecb merge dev and resolve conflicts 2016-03-11 20:57:28 -08:00
Mathäus Mendel
473de6d1b1 Fixed compilation on IBM AIX due to name clash with UTF32Char
Both poco and AIX's system header <sys/types.h> defines UTF32Char
type which lead to a name clash and compilation error.
2016-03-11 10:21:40 -03:00
Mathäus Mendel
b3423e6601 Fixed compilation on IBM XLC due to incorrect function call
Templated functions dependent of a templated class must be prefixed with
the "template" keyword.
2016-03-11 10:17:33 -03:00
Mathäus Mendel
b245307780 Poco.Foundation now links with pthreads on Unix platforms
Some of the libraries relies on functions from Poco.Foundation that
are implemented using pthreads and were leading to link errors.
2016-03-11 10:14:43 -03:00
Alex Fabijanic
31d23d2d2a Merge branch 'develop' into pr/1113 2016-03-10 08:57:21 -08:00
Alex Fabijanic
84c2c5ea78 Merge branch 'develop' into pr/1113 2016-03-09 19:56:37 -08:00
Mathäus Mendel
9332e886d0 Merge remote-tracking branch 'upstream/develop' into develop 2016-03-09 17:24:47 -03:00
Mathäus Mendel
ede77f46ee Removed unused variables
When compiling with higher warning levels the compiler warns about
these unused variables.
2016-03-09 17:20:37 -03:00
Guenter Obiltschnig
139649fd61 TaskManager::count() now returns std::size_t; release mutex before posting progress notification 2016-03-09 20:22:44 +01:00
Alex Fabijanic
e388c9baa0 Merge branch 'develop' into pr/1113 2016-03-08 14:08:11 -08:00
Mathäus Mendel
7dda3867c6 Removed isnan and isinf from the namespace std for IBM XLC
Due to the implication of changing the standard library behavior on IBM XLC
when using the POCO Libraries, the functions from <cmath> previously added
to the namespace std are now guarded by #ifdef directives to cover only
the needed cases (IBM XLC compiler on AIX).
2016-03-08 09:53:46 -03:00