Commit Graph

1184 Commits

Author SHA1 Message Date
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
Aleksandar Fabijanic
accf879682 Merge pull request #863 from cesar-carrasco/develop
Defined SYS_gettid to __NR_gettid when not already defined.
2015-06-23 21:31:27 -05:00
Aleksandar Fabijanic
22bb363260 FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869, part II 2015-06-23 21:04:59 -05:00
Aleksandar Fabijanic
cc9fb56705 FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869 2015-06-23 21:02:18 -05:00
Cesar Carrasco
7f52fda001 Defined SYS_gettid to __NR_gettid when not already defined. 2015-06-16 16:09:58 -04:00
Aleksandar Fabijanic
2d6fc27dd1 Var BadCastException #861 2015-06-10 09:03:12 -05: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
Matej Kenda
01fc7f2e1c Added condition variable and timeout to ObjectPool::borrowObject/returnObject to block caller until an object is available. 2015-05-27 14:01:39 +02:00
Alex Boyd
c23f6f0b57 add 'log' to SYSLIBS when compiling Foundation for android 2015-05-26 15:37:36 -04:00
Alex Fabijanic
995832639e Merge branch 'develop' into OpenSSLBuild 2015-05-21 19:46:58 -05:00
Alex Fabijanic
af6c22c0ac simplify Crypto and NetSSL VS projects 2015-04-25 16:18:19 -05:00
Guenter Obiltschnig
25b446502b removed GCC_DIAG_OFF 2015-04-23 17:31:05 +02:00
Guenter Obiltschnig
1f1f828e29 fixed an unused warning 2015-04-23 16:08:16 +02:00
Guenter Obiltschnig
ac12cd4972 removed GCC_DIAG_OFF macro, fixed static_assert typedef to include __attribute__((unused)) for GCC 2015-04-21 19:03:55 +02:00
Alex Fabijanic
62bcc5c6ed GCC_DIAG_* definitions are missing for Windows (MinGW) #785 2015-04-22 18:36:12 -05:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
martin-osborne
e9dce11e50 Correct mispelt 'd' and 'e' words. 2015-04-10 10:54:47 +01:00
martin-osborne
12c0594db6 Corrected misspelt 'b' and 'c' words. 2015-04-06 17:56:13 +01:00
martin-osborne
7e730aa9b8 Corrected other misspelt 'a' words. 2015-04-06 17:34:48 +01:00
martin-osborne
91dd5f8e44 Corrected spelling of accommodate in documentation and comments. 2015-04-06 17:03:35 +01: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
Guenter Obiltschnig
c06b36039b fix GCC_DIAG_OFF 2015-03-27 21:02:19 +01:00
Guenter Obiltschnig
c0228c5ff8 allow turning off GCC_DIAG_ON/OFF 2015-03-27 16:54:37 +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
Guenter Obiltschnig
1a8a7fc1b4 fix vs90 testsuite 2015-03-22 17:30:03 +01:00
Guenter Obiltschnig
dc7d874775 fixed project files 2015-03-22 14:33:04 +01:00
Rangel Reale
d6fcca806e * NaCl support 2015-03-20 11:28:49 -03:00
Guenter Obiltschnig
9279794ee9 fix affinity test 2015-03-20 09:52:13 +01:00
Guenter Obiltschnig
f481a4c92f fix affinity test 2015-03-20 09:50:56 +01:00
Alex Fabijanc
97abc36c14 update testsuite makefile 2015-03-19 23:30:23 -05:00
Alex Fabijanc
96a74bac48 update testuite VS projects 2015-03-19 23:28:14 -05:00
Alex Fabijanc
027c8a40e2 FIFOBuffer tidy up 2015-03-19 23:22:00 -05: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
bas524
283e9a9595 fix error 2015-03-17 09:07:26 +03:00
bas524
6b7c87bf5c replace typedef enum to pure enum ThreadAffinityPolicy
fix problem in cmake for pthread_setaffinity_np
2015-03-17 08:33:05 +03:00
Guenter Obiltschnig
416380936a fix a race condition 2015-03-16 16:09:54 +01:00
Guenter Obiltschnig
490fa253f1 style fix 2015-03-12 14:50:16 +01:00
ale_bychuk
9d4d3e41dd Add thread affinity support to taskmanager 2015-03-12 16:12:33 +03:00
Guenter Obiltschnig
c52b6ec949 fix for libstdc++ workaround 2015-03-11 23:45:05 +01: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
Günter Obiltschnig
f5c49f0d94 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-03-11 22:07:29 +01:00
Günter Obiltschnig
6de327fe07 fixed missing member var init 2015-03-11 22:07:07 +01:00
Guenter Obiltschnig
59bd310130 workaround for clang/libstdc++ issue on OS X: seekg() returning -1 does not set failbit 2015-03-11 21:58:52 +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
Günter Obiltschnig
67f90e2a8e fixed project files 2015-03-11 18:39:23 +01:00
Günter Obiltschnig
70eabf06e6 Merge pull request #738 from Sevalecan/develop
Move other FIFOBuffer tests to new BasicFIFOBufferTest
2015-03-11 17:41:28 +01:00
Günter Obiltschnig
bdd9b7e3a6 fixed WEC2013 project files 2015-03-11 16:41:40 +01:00
Pascal Bach
745d5fb025 Add missing const in ThreadImpl::getAffinityImpl for WINCE 2015-03-11 11:31:10 +01: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
ale_bychuk
662fbc861a add test for thread affinity and fix some problems 2015-03-07 10:55:23 +03:00
Guenter Obiltschnig
4336528290 fix: android arm64/x86_64 compile error with getdtablesize 2015-03-06 16:32:02 +01:00
bas524
888abad26c add getAffinity method
throw NotImplementedException on unsupported platforms
2015-03-05 18:11:56 +03:00
bas524
158aaab180 Add setaffinity method to thread implementation and interface class 2015-03-04 13:24:26 +03:00
Guenter Obiltschnig
5dea080b0b use GCC_DIAG_OFF(unused-local-typedefs) only for GCC >= 4.8 2015-03-03 06:51:23 +01:00
Alex Fabijanc
7253045a6e added ProGen Files for Foundation and regenerated projects to include JSONString 2015-03-02 19:57:46 -06:00
Alex Fabijanc
b91096b528 added ProGen files for Foundation 2015-03-02 19:50:29 -06:00
Alex Fabijanc
c727402dd9 added secure WebSocket tests 2015-03-02 19:34:50 -06:00
Jonathan S
7e07cb9d4d Moved other FIFOBuffer tests to BasicFIFOBufferTest 2015-02-25 21:10:20 -05:00
Jonathan S
3173bddd99 Make next() use call to begin() instead of _buffer.begin() 2015-02-24 22:07:28 -05:00
Jonathan S
1bbeb9ebd3 Added same next() logic to advance() to prevent advancing past the end of the buffer. 2015-02-22 19:56:54 -05:00
Jonathan S
30ae0afd7b Changed FIFOBuffer's next() to reset FIFO data to the start of the internal buffer to make it compatible with writing to the next() pointer. 2015-02-21 20:31:44 -05:00
Jonathan S
d89f41add0 Added memset to BasicFIFOBufferTest 2015-02-21 20:30:04 -05:00
Jonathan S
13c176ef62 Added in test suite for BasicFIFOBuffer 2015-02-21 20:13:44 -05:00
Alex Fabijanic
07a2529d9d JSON Formatter modifications 2015-02-12 20:49:35 -06:00
Alex Fabijanic
74e970d1a1 gcc error #711 2015-02-10 12:24:31 -06:00
Alex Fabijanic
1e0663563b passify gcc 2015-02-10 10:34:41 -06:00
Aleksandar Fabijanic
838a7bbcae add JSONString to Makefile 2015-02-10 09:25:17 -06:00
Alex Fabijanic
beb81b4f16 add JSONFormatter 2015-02-10 00:27:07 -06:00
Aleksandar Fabijanic
aaf32257e3 Merge pull request #601 from martin-osborne/issue_532-3
Issue #532 -  Changes to address `FastMutex` being non-recursive on Win32 platforms
2015-02-09 21:08:12 -06:00
Aleksandar Fabijanic
5bfe1fc56b Merge pull request #694 from drali/develop
Changed Process::killImpl to throw on correct error code
2015-02-09 21:05:17 -06:00
Aleksandar Fabijanic
c00f13d277 Merge pull request #561 from bschramke/develop
Support for XDG Base Directory Specification
2015-02-09 21:04:28 -06:00
Rangel Reale
923874c243 * Add export macro to AndroidLogChannel 2015-01-29 15:47:46 -02:00
Rangel Reale
1c648764c2 - Android log channel implementation
- Removes warning from Bugcheck.h on Android

fixes #122
2015-01-29 11:14:39 -02:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00