Commit Graph

293 Commits

Author SHA1 Message Date
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
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
Marian Krivos
0139648c46 Logger::setLevel(string) - optionally parse log level as number in range 1 to 8 2014-12-07 20:39:00 +01:00
martin-osborne
627eee72cb Added test for tellp/tellg issue. 2014-11-30 10:25:51 +00:00
Günter Obiltschnig
4303967e2a add test for #560 2014-11-19 12:43:25 +01:00
Günter Obiltschnig
4c11857056 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-11-19 10:39:21 +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
c7fb2ee987 fix for gcc 2014-11-16 21:51:10 +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
fa4989e0c7 fixed #592: Incorrect format string in Poco::Dynamic::Struct 2014-11-07 10:43:50 +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
569102c18c Updated tests to reflect implementation changes. 2014-10-30 11:40:20 +00:00
martin-osborne
2a90e7de92 Moved work for isue 532 into it's own branch. 2014-10-19 10:59:08 +01:00
Guenter Obiltschnig
50f1f12cab Poco::URI: added new constructor to create URI from Path 2014-10-12 11:19:52 +02:00
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05: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
Guenter Obiltschnig
a293d04b37 disable isRunning test on WinCE 2014-09-14 11:49:40 +02:00
Pascal Bach
40024660ae Update Windows1250Encoding.ccp and Windows1252Encoding.ccp including Unit tests
* Add encoding names. According to the document below, the default encoding name should be "windows-1250" and "windows-1252".
   http://www.iana.org/assignments/character-sets/character-sets.xhtml
* Unit tests update to reflect the change.
2014-08-22 13:22:30 +02:00
Aleksandar Fabijanic
eaa6e3a400 Update ProcessTest.cpp 2014-08-12 19:04:50 -05:00
Yuval Kashtan
04116d6593 add tests for Process::isRunning 2014-08-12 11:03:54 +03:00
Oldřich Jedlička
2cdfa7ae57 Allow absolute index to be used when all values has been used. 2014-05-29 10:47:34 +02:00
Alex Fabijanic
b416df22fe revert (broken build) 2014-05-22 11:34:35 -05:00
Aleksandar Fabijanic
731fb29fcc Merge pull request #344 from RangelReale/htmlformcontentlength
HTMLForm Content-Length calculation
2014-05-21 22:27:12 -05:00
Aleksandar Fabijanic
89b7228461 Merge pull request #266 from tokiloki/format
format support both raw and STL strings
2014-05-21 22:24:42 -05:00
Alex Fabijanic
83d11b5a00 fixed GH #363: DateTimeParser tryParse/parse 2014-05-22 03:08:41 -05:00
Alex Fabijanic
b7884c6d8c fixed broken build 2014-05-21 04:02:40 -05:00