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
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
Guenter Obiltschnig
ec71e76f0a
PatternFormatter fix, added test
2015-08-20 20:23:13 +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
Guenter Obiltschnig
25b446502b
removed GCC_DIAG_OFF
2015-04-23 17:31:05 +02:00
martin-osborne
12c0594db6
Corrected misspelt 'b' and 'c' words.
2015-04-06 17:56:13 +01:00
Alex Fabijanic
e26d1ffa13
Poco::Var operator== throws exception #769
2015-04-03 10:37:07 -05: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
027c8a40e2
FIFOBuffer tidy up
2015-03-19 23:22:00 -05: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
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
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
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
Jonathan S
7e07cb9d4d
Moved other FIFOBuffer tests to BasicFIFOBufferTest
2015-02-25 21:10:20 -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
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
Alex Fabijanc
b2e209bf54
fix windows MemoryStreamTest build
2015-01-26 22:36:30 -06:00
Aleksandar Fabijanic
f440c4b101
Merge pull request #688 from martin-osborne/issue_297
...
Issue #297 - Added implementation of seekoff to BasicMemoryStreamBuf
2015-01-25 20:56:20 -06:00
martin-osborne
683d7ce83b
Added additional checks of tellp
and tellg
.
2015-01-25 11:41:24 +00:00
martin-osborne
3d7ecaa224
Correct comment in tests.
2015-01-25 10:20:34 +00:00
martin-osborne
1c03740e41
Expanded tests to check boundary cases.
2015-01-25 08:59:44 +00:00
martin-osborne
5e104addd3
Issue #297 - Implemented BasicMemoryStreamBuf::seekoff
...
This change adds support for `tellp`, `tellg` and seeking.
**Additional notes:**
+ `tellg` calls `rdbuf->pubseekoff(0, cur, out)` [lib.ostream.seeks] so need to
provide an override of `seekoff`.
+ Requirements for `seekoff` are in 27.7.1.3.
+ 27.7.1.3 - Standard has a roundabout way of saying `cur` is valid if only one
of `in` or `out` is specified (Condition 3).
+ `xend` is `egptr`/`epptr` (get area/put area).
+ `xbeg` is `eback`/`pbase` (get area/put area).
+ `xnext` is `gptr`/`pptr` (get area/put area).
+ `newoff` is a bit of a misnomer, the new offset into the stream is given by
`newoff + off`. `newoff` is really the start point.
+ You can set `gnext` with `setg`, but you can't do that with `setp` you have
to `pbump` by the new offset minus the current offset.
2015-01-24 18:39:06 +00:00
martin-osborne
f79ab5b77a
Merge branch 'develop' into issue_297
2015-01-24 08:53:07 +00:00
martin-osborne
21d2e963ef
Updated Event c'tor to accept an enum.
2015-01-17 10:07:44 +00:00
Scott Davis
e3c5cd30dc
Test preservation of write attribute on file copy
2015-01-16 15:10:10 -05:00
martin-osborne
00b568193c
Replaced boolean with enum in c'tor.
...
Implemented in a similar style to FPEnvironment.
2015-01-14 10:48:22 +00:00
martin-osborne
f9942829d3
Merge branch 'develop' into issue_532-3
2015-01-11 11:12:43 +00:00