Commit Graph

553 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
Miklos Vajna
b9cfd346a1 GH #1050 Foundation: fix gcc -Wshadow warnings 2015-11-30 15:49:07 +01:00
Guenter Obiltschnig
825e99578a GH #1022: clean-up setThreadName 2015-11-10 10:07:48 +01: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
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
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
Guenter Obiltschnig
622d9d4c6c NumberParser::parseHex[64](): allow 0x/0X prefix 2015-09-09 14:38:08 +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
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
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
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
d2c64b4493 GH# 878: check for valid hex characters, support SHA-1 name-based UUIDs (v5) 2015-07-31 10:05:58 +02:00
Cesar Carrasco
7f52fda001 Defined SYS_gettid to __NR_gettid when not already defined. 2015-06-16 16:09:58 -04:00
unknown
1c26b58452 Optional force scan for DirectoryWatcher #853 2015-06-03 14:55:05 -05:00
Matej Kenda
e26bb65a5b Logger: added %O to message format to display numeric thread id in logs. 2015-06-01 10:00:56 +02:00
Matej Kenda
f1e6cba313 Thread POSIX: tid is numeric OS thread ID on Linux and OSX instead of pthread_t. 2015-06-01 09:59:01 +02:00
Guenter Obiltschnig
1f1f828e29 fixed an unused warning 2015-04-23 16:08:16 +02:00
Alex Fabijanic
e26d1ffa13 Poco::Var operator== throws exception #769 2015-04-03 10:37:07 -05:00
Guenter Obiltschnig
648930b8db do not flush underlying stream on sync() as these causes issues with Zip files 2015-03-28 11:44:39 +01:00
Günter Obiltschnig
35a7b47138 replace extern "C" #include hack by copying needed declarations from pcre_internal.h header 2015-03-24 07:36:51 +01:00
Guenter Obiltschnig
df9575dd26 fixes for SolarisStudio compiler 2015-03-23 23:20:15 +01:00
Rangel Reale
d6fcca806e * NaCl support 2015-03-20 11:28:49 -03:00
Guenter Obiltschnig
406175a828 don't throw if thread cpu affinity is not supported 2015-03-19 14:03:54 +01:00
Guenter Obiltschnig
2b1301b3e3 style and interface fixes for thread affinity 2015-03-18 16:40:22 +01:00
Aleksandar Fabijanic
8b96fd4a33 Merge pull request #743 from bas524/affinity
add thread affinity policy to threadpool
2015-03-17 17:47:54 -05:00
Guenter Obiltschnig
416380936a fix a race condition 2015-03-16 16:09:54 +01:00
ale_bychuk
9d4d3e41dd Add thread affinity support to taskmanager 2015-03-12 16:12:33 +03:00
Günter Obiltschnig
a97c58a961 disable Timestamp hack on WinCE (re-enable with -DPOCO_WINCE_TIMESTAMP_HACK) 2015-03-11 23:18:51 +01:00
ale_bychuk
4c1fe9ef02 add thread affinity policy to threadpool
there are OS_DEFAULT, UNIFORM_DISTRIBUTION and CUSTOM
With custom policy we can run thread on specified cpu
2015-03-11 23:39:21 +03:00
Pascal Bach
1b8a7c1664 Add missing Path implementations for WINCE 2015-03-11 11:30:10 +01:00
Aleksandar Fabijanic
849e362b1d Merge pull request #730 from bas524/feature
Add setaffinity method to thread implementation and interface class
2015-03-08 16:10:45 -05:00
ale_bychuk
a0e172419f fix indentation 2015-03-08 22:54:45 +03:00
ale_bychuk
3af35f548c fix indentation 2015-03-08 22:04:29 +03:00