Commit Graph

679 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
martin-osborne
9b2e897280 Removed comment. 2015-01-25 10:05:59 +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
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
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
Guenter Obiltschnig
92c607e767 code style and doc fixes 2015-01-09 19:04:58 +01:00
Scott Davis
5fa4dc3da7 Add missing constructor for RecursiveDirectoryIterator 2015-01-08 17:02:46 -05:00
Alex Fabijanic
d992509f6e GCC diagnostic guard fix 2015-01-05 22:20:58 -06:00
Aleksandar Fabijanic
4ae9aa9674 building with gcc 4.6.3 gives lots lots of warnings #658 2015-01-01 22:47:03 -06:00
Alex Fabijanic
eb04ffc423 style fixes 2015-01-01 12:35:26 -06:00
xantares
1e28368222 fixed win32 defines 2014-12-23 16:23:08 +01:00
Aleksandar Fabijanic
c5268c9777 spelling fix 2014-12-19 07:34:46 -06:00
Guenter Obiltschnig
28cf70d3f9 updated version no and changelog 2014-12-15 11:10:28 +01:00
Guenter Obiltschnig
1e471d7343 semantic versioning documentation 2014-12-11 20:11:20 +01:00
Alex Fabijanic
10aedfe5ad supress gcc warning avalanche 2014-12-08 20:14:19 -06:00
Günter Obiltschnig
ff3f260a10 fix warning, add note to Config.h regarding deprecation of POCO_WIN32_UTF8 2014-12-06 11:30:26 +01:00
Guenter Obiltschnig
31a0c7cb7e added deprecation warning for POCO_WIN32_UTF8 2014-12-06 11:13:44 +01:00
Guenter Obiltschnig
755c31a4fd Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-12-02 09:08:23 +01:00
Guenter Obiltschnig
9af6b5b2db flush underlying streams on close()/sync() 2014-12-02 09:08:07 +01:00
Christopher Baker
e0d5535b7a Fixed small documentation typo onr to one. 2014-12-01 12:39:02 -06:00
Günter Obiltschnig
5f8d7ef994 Thread fixes for WinCE 2014-11-24 14:34:27 +01:00
Guenter Obiltschnig
d5d048e689 Poco::BasicEvent improvements and preparations for future support of lambdas/std::function 2014-11-24 11:17:27 +01:00
Guenter Obiltschnig
6ddce4c9ff Timestamp reference point ambiguity #614 2014-11-21 09:32:13 +01:00
Guenter Obiltschnig
22c22fdea7 fixed GH #616: Visual Studio warning C4244 2014-11-20 12:13:58 +01:00
Guenter Obiltschnig
7b11e14624 GH #569: update documentation 2014-11-19 15:31:37 +01:00
Günter Obiltschnig
a417d49d5d improved URI documentation regarding setQuery()/getQuery(); added getQueryParameters()/setQueryParameters() 2014-11-19 10:38:59 +01:00
Guenter Obiltschnig
4b53f137de Thread fixes for POSIX 2014-11-16 20:51:11 +01:00
Günter Obiltschnig
7043a3d4ff added support for starting functors/lambdas to Poco::Thread class 2014-11-16 20:43:19 +01:00
Guenter Obiltschnig
eb8dce47fe fix #606: HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request body first parameter with BOM in name 2014-11-12 10:33:57 +01:00
Alex Fabijanic
8769ef01bc added Error::last() 2014-11-11 19:47:39 -06:00
Björn Schramke
06e59cb7a7 add Windows compliant implementation of XDG Base Directory Specification 2014-11-11 17:05:48 +01:00
Guenter Obiltschnig
fa4989e0c7 fixed #592: Incorrect format string in Poco::Dynamic::Struct 2014-11-07 10:43:50 +01:00
Günter Obiltschnig
0200c09985 Merge pull request #599 from zosrothko/develop
Add up to 10 arguments to variables arguments list for all level form: correcting missing udpate
2014-11-07 09:42:41 +01:00
zosrothko
46f3a7a637 Add up to 10 arguments to variables arguments list for all level formattin
Missing Format.h commit
2014-11-07 08:39:31 +01:00
Guenter Obiltschnig
6741e90bba style and consistency fixes 2014-11-06 12:04:28 +01:00
Günter Obiltschnig
5b74121119 Merge pull request #573 from ivannp/assertmsg
Added Timestamp::Min/Max. Added poco_assert_msg and poco_assert_msg_dbg.
2014-11-06 11:40:17 +01:00
zosrothko
1143a68518 Add up to 10 arguments to variables arguments list for all level formatting methods 2014-11-03 14:22:08 +01:00
martin-osborne
b3ed2d94b5 Supress VS compiler warning C4512:
assignment operator could not be generated
2014-11-01 12:29:49 +00:00
martin-osborne
1e1822f6c6 Updated FastMutex documentation. 2014-11-01 09:38:56 +00:00
Guenter Obiltschnig
656643e225 set version numbers for 1.6 2014-10-30 14:09:51 +01:00
Guenter Obiltschnig
721405d1fc #318: Logger local time doesn't automatically account for DST (PatternFormatter) 2014-10-30 14:06:13 +01:00
martin-osborne
db586617e9 Merge branch 'issue_532' into issue_532-3 with edits 2014-10-30 11:10:39 +00:00
martin-osborne
2a90e7de92 Moved work for isue 532 into it's own branch. 2014-10-19 10:59:08 +01:00
Ivan Popivanov
4707a6df83 Added Timestamp::Min/Max which help define extreme timestamps, useful to initialize variables, especially for comparison.
Added NOMINMAX as a preprocessor define for Windows. Otherwise some Windows headers define min/max as macros which interferes with std::numeric_limits::min/max

Added poco_assert_msg and poco_assert_msg_dbg, which are equivalent to poco_assert and poco_assert_dbg, respectively, but support an extra text parameter.
2014-10-14 22:41:49 -04:00
mar-na
368fff1c05 Supported little endian for MIPS 2014-10-13 15:12:07 +02:00
Guenter Obiltschnig
50f1f12cab Poco::URI: added new constructor to create URI from Path 2014-10-12 11:19:52 +02:00
Guenter Obiltschnig
5b0fa2e06a Poco::Buffer properly handles zero-sized buffers 2014-10-09 10:34:46 +02:00
Björn Schramke
ce56190f9f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2014-10-09 09:46:21 +02:00
Guenter Obiltschnig
ef34c21e91 added Clock::raw(); style fixes 2014-10-08 07:59:48 +02:00
Günter Obiltschnig
9ee4d0a36b Merge pull request #558 from ivannp/develop
Adding Timestamp::raw
2014-10-08 07:56:04 +02:00
Ivan Popivanov
cab8224cc3 Adding Timestamp::raw
Returns the raw value, (the internal representation) of the timestamp.
Useful when storing to a database for instance.
2014-10-08 01:51:06 -04:00
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05:00
Guenter Obiltschnig
a04228aee3 updated version to 1.5.4 2014-10-06 14:15:57 +02:00
Günter Obiltschnig
e8c19d0efe Merge pull request #551 from danoli3/pcre_update_2014
PCRE updated to 8.35.0
2014-10-06 08:00:57 +02:00
Guenter Obiltschnig
d66fde51b5 #544 use _DEBUG instead of DEBUG macro in [Simple]HashTable 2014-10-06 07:35:04 +02:00
Alex Fabijanic
a25877bfc2 - FIFOBuffer drain() problem #552
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
  not thread safe #402
2014-10-03 16:12:42 -05:00
Daniel Rosser
010f7a5370 PCRE 8.35.0 Update
- Updated to PCRE 8.35 (latest, 2014-04-04)
- Updated Build files with new files and removed those that have
changed.
- Configured like previous configuration.
2014-10-03 23:17:24 +10:00
Günter Obiltschnig
a2617235fe #538 more dtor fixes and some style fixes along the way 2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
b5658d3938 GH# 545: use short for sign 2014-09-29 10:10:09 +02:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Guenter Obiltschnig
e500d0f31a added poco_unexpected() macro invoking Bugcheck::unexpected() to deal with unexpected exceptions in destructors 2014-09-19 08:16:47 +02:00
Guenter Obiltschnig
f2512856ee added Var::isBoolean() and fixed JSON stringifier 2014-09-18 20:57:34 +02:00
Günter Obiltschnig
d32354aea9 Merge pull request #536 from TimothyGu/develop
MinGW improvements
2014-09-17 19:38:10 +02:00