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
Alex Fabijanc
b2e209bf54
fix windows MemoryStreamTest build
2015-01-26 22:36:30 -06:00
Daniel Ali
c4cf869141
Changed Process to throw on correct error code
2015-01-26 20:26:52 -05:00
Aleksandar Fabijanic
c14f8a8a69
Merge pull request #646 from adriaan42/develop
...
Prevent possible data race in access to Timer::_periodicInerval
2015-01-25 21:05:12 -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
Chris van Dijk
07d436a8b3
Include missing header, fixes #690 lack of monotonic Clock on Linux/POSIX
...
The macros _POSIX_TIMERS and _POSIX_MONOTONIC_CLOCK are defined in
(includes of) unistd.h, without them Clock falls back to using Timestamp
internally.
2015-01-26 02:27:43 +01: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
9b2e897280
Removed comment.
2015-01-25 10:05:59 +00:00
martin-osborne
1c03740e41
Expanded tests to check boundary cases.
2015-01-25 08:59:44 +00:00
martin-osborne
c264a0d716
Restored original names for typedefs. Fixed gcc build.
2015-01-25 07:28:24 +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
6eb8f582e7
Added missing explicit keyword.
2015-01-17 12:02:42 +00:00
martin-osborne
1bb48442b6
Updated documentation.
2015-01-17 11:58:01 +00:00
martin-osborne
21d2e963ef
Updated Event c'tor to accept an enum.
2015-01-17 10:07:44 +00:00