Mike Gelfand
3abdb1fc23
Return non-zero from ProcessHandle::wait if killed by signal
...
Currently, ProcessHandle::wait (and transitively Process::wait) on *NIX
return zero if process was terminated as a result of unhandled signal.
Check if this is the case and return negative signal number instead to
indicate non-graceful process termination.
2015-10-03 15:32:15 +03:00
Guenter Obiltschnig
92e2a19661
added EventChannel class (from macchina.io)
2015-09-30 11:03:03 +02:00
Guenter Obiltschnig
5184a8526f
tvOS support
2015-09-29 14:25:54 +02:00
Guenter Obiltschnig
06ab1e9820
setThreadName: abbreviate thread name if too long
2015-09-28 22:46:31 +02:00
David Morán
cd01fad478
Added regular expression test for named substrings
2015-09-28 12:13:59 +02:00
David Morán
8f1f678f76
Named substring support
2015-09-28 02:21:21 +02:00
aaron0x
0a64390399
Enhance FileChannel purge setting.
2015-09-26 23:31:30 +08:00
Mike Gelfand
cec5a43151
Change Foundation library version back to SHARED_LIBRARY_VERSION
...
Foundation is the only library using PROJECT_VERSION as library version,
the change accidentally introduced by commit b69fafb84c
. This causes
difference in library being linked to (libPocoFoundation.31.dylib on Mac)
and library returned by $<TARGET_FILE:Poco::Foundation> for imported
target (libPocoFoundation.1.6.1.dylib), causing inconvenience. Also, this
differs from autoconf-based builds where only "31" (soversion) library is
being created and not "1.6.1" (project version) one.
2015-09-20 03:08:19 +03:00
FrancisANDRE
a4479552b6
add SharedLibrary::getOSName() to improve portability of shared library
...
real filename over different OS like Linux/Unix/Cygwin & Windows.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-09-19 08:28:26 +02:00
Aleksandar Fabijanic
8aef165ed5
Merge pull request #938 from adasworks/develop
...
fix: cmake: set public compiler flags on library targets
2015-09-15 10:28:42 -05:00
Csaba Keszegh
61305c01ee
fix: set public compiler flags on library targets
...
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Guenter Obiltschnig
526ba5d0b3
added comments regarding encoding/decoding to getPath*()
2015-09-14 10:25:02 +02:00
Guenter Obiltschnig
2603c7a0d4
added comment regarding query strings ( #767 )
2015-09-14 10:19:08 +02:00
Guenter Obiltschnig
e63c56cafb
added testcase for #936
2015-09-11 14:01:10 +02:00
Guenter Obiltschnig
622d9d4c6c
NumberParser::parseHex[64](): allow 0x/0X prefix
2015-09-09 14:38:08 +02:00
Guenter Obiltschnig
ea52ac5358
do not use of UINT64_C
2015-09-09 13:30:14 +02:00
Guenter Obiltschnig
f315dc603e
fix for pre-C++11 compilers
2015-09-09 12:59:35 +02:00
Guenter Obiltschnig
15f034cbbd
fix GH #931 : make strToInt() more strict in what it accepts
2015-09-09 11:14:29 +02:00
Guenter Obiltschnig
3eca77450c
fix version no, style
2015-09-08 17:36:28 +02:00
Aleksandar Fabijanic
f6ab1fb925
Merge pull request #917 from zosrothko/develop
...
additionnal fixes for the Cygwin platform
2015-09-05 09:30:58 -05:00
Guenter Obiltschnig
249c064ec7
#921 : better comment, provide workaround for MSVC only
2015-09-01 21:46:18 +02:00
Guenter Obiltschnig
22c7933fe5
another attempt at fixing #921
2015-09-01 08:31:16 +02:00
Guenter Obiltschnig
245a628d90
removed explicit template instantiations from header files ( #921 )
2015-08-30 08:26:13 +02:00
Guenter Obiltschnig
e769b8df87
needs to be marked for import/export #921
2015-08-29 22:40:58 +02:00
FrancisANDRE
7f01fbc3db
add std::string SharedLibrary::prefix() for building library name that
...
complies with Cygwin standard.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-27 08:48:26 +02:00
FrancisANDRE
b0989b0828
replace duplicate define for HP_ACC by the COMPAQ one for DEC CXX
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-27 08:42:11 +02:00
FrancisANDRE
d75119648b
Merge remote-tracking branch 'pocoproject/develop' into develop
2015-08-24 14:34:28 +02:00
FrancisANDRE
293e7c91f7
use /dev/tty instead /dev/console on Cygwin otherwise a file acces check
...
makes the test failing.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-22 09:54:29 +02:00
FrancisANDRE
d1a8c11f98
skip SharedMemoryTest for DPOCO_NO_SHAREDMEMORY platform
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:15:13 +02:00
FrancisANDRE
462deab58b
condition assert for POCO_NO_FPENVIRONMENT platform
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:13:56 +02:00
FrancisANDRE
5354989f45
add a newline for clarity
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:12:27 +02:00
Aleksandar Fabijanic
23f8842a14
Merge pull request #903 from zosrothko/develop
...
Various fixes for Cygwin X86_64 port and additional minor fixes
2015-08-20 16:56:46 -05:00
Guenter Obiltschnig
ec71e76f0a
PatternFormatter fix, added test
2015-08-20 20:23:13 +02:00
Guenter Obiltschnig
fafe691a04
fixes for style and consistency
2015-08-20 14:55:17 +02:00
Günter Obiltschnig
74ffb112bc
Merge pull request #907 from dedvalson/develop
...
PatternFormatter Priority Name Enhancement
2015-08-20 14:48:36 +02:00
FrancisANDRE
c8abda6e4e
change return type of getOsTid() const; from long to IntPtr
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-19 17:46:05 +02:00
Günter Obiltschnig
bc5d83cf5f
Merge pull request #909 from mkrivos/develop
...
Some more runtime exceptions types
2015-08-19 09:07:14 +02:00
Marian Krivos
1b1c4416dd
Added some more RuntimeExceptions - InterruptedException, IndexOutOfBoundsException, UnsupportedOperationException, EmptyStackException, StackOverflowException, ArithmeticException
2015-08-17 21:55:52 +02:00
FrancisANDRE
c869eb8cbc
Use a C-style coercion cast for portability. Naither reinterpret_cast,
...
nor static_cast is working.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-17 10:11:43 +02:00
FrancisANDRE
a8743b7140
Fix invalid reinterpret_cast to static_cast.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-17 08:08:22 +02:00
FrancisANDRE
2f40cd5b59
With ptrhead, Thread::currentTid() returns a pointer to a struct which
...
leads to a compile error when assigning it to an long. Thus _ostid type
should be changed to IntPtr and the assignment should use a
reinterpret_cast.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-17 07:36:57 +02:00
Don Edvalson
5c20361005
Pattern Formatter Priority Name Enhancement
...
Added a property to allow the user to specify the actual names for the
priorities that will go into the log.
2015-08-14 09:16:05 -04:00
FrancisANDRE
4368a1fcfe
add POCO_EXPORT_INTERFACE to ClassLibrary.h
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-08 11:27:12 +02:00
Mazyad Alabduljaleel
5cff648eea
Added NotificationQueue::remove function
...
This includes appropriate tests, which pass on my Mac 10.4 machine
2015-08-06 14:13:11 +04:00
Guenter Obiltschnig
e438061ce7
fixed GH #722 : Unicode Converter Test confuses string and char types
2015-07-31 10:23:16 +02:00
Guenter Obiltschnig
d2c64b4493
GH# 878: check for valid hex characters, support SHA-1 name-based UUIDs (v5)
2015-07-31 10:05:58 +02:00
Günter Obiltschnig
8b7b7cc818
again: VS2015: changed optimization for testsuite to custom, due to optimizer bug leading to crash in PBKDF2EngineTest
2015-07-30 18:58:52 +02:00
Günter Obiltschnig
b6ae5128ce
added Visual Studio 2015 project files
2015-07-30 15:48:45 +02:00
Günter Obiltschnig
d10c43d0d5
VS2015: changed optimization for testsuite to custom, due to optimizer bug leading to crash in PBKDF2EngineTest
2015-07-30 13:46:00 +02:00
Günter Obiltschnig
6c09516fee
Project files for Visual Studio 2015
2015-07-30 11:15:52 +02:00