Commit Graph

1179 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
cf02d38986 Merge pull request #1066 from fbraem/develop
Escape Unicode in JSON
2015-12-07 11:56:49 -06:00
fbraem
18b92b5b36 Use escape to correctly escape unicode characters 2015-12-07 17:33:10 +01:00
fbraem
7086d93324 Add escape/unescape functions 2015-12-07 17:31:49 +01:00
Alex Fabijanic
95f1a7c30d Process hangs on waitpid #1063 2015-12-06 23:18:29 -06:00
Alex Fabijanic
4499062f0d add rpath for test dynamic library; silence unused warnings for test 2015-12-06 22:08:18 -06:00
FrancisANDRE
3c2a83d2ee Use POCO_BASE for looking for test data directory.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-06 09:07:31 +01:00
Miklos Vajna
b9cfd346a1 GH #1050 Foundation: fix gcc -Wshadow warnings 2015-11-30 15:49:07 +01:00
zosrothko
94bb16fdee Include <pcre.h> for an unbundled build. 2015-11-17 18:45:44 +01:00
Guenter Obiltschnig
825e99578a GH #1022: clean-up setThreadName 2015-11-10 10:07:48 +01:00
Kim Grasman
883cdb7b14 Fix #928: Workaround to fix -Wswitch warning 2015-10-13 21:58:56 +02:00
Günter Obiltschnig
c25d9f00e5 Merge pull request #973 from aaboyd/move-overwrite-on-windows
overwrite existing files on windows when moving files
2015-10-09 09:35:58 +02:00
Alex Boyd
7ef3c2e44c overwrite existing files on windows when moving files 2015-10-09 00:48:23 -04:00
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