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
martin-osborne
58e860c440
Resolved merge conflict with develop.
2015-01-10 12:00:24 +00:00
Alex Fabijanic
767d268eed
moved PBKDF2 tests into VS120 project Crypt filter
2015-01-01 13:11:36 -06:00
Pascal Bach
97ea3ef483
CMake, WinCE: Make samples and tests compile under Windows CE
2014-12-21 16:23:35 +01:00
Pascal Bach
10ef2b2335
CMake: Remove WinDriver usage in tests
...
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252
Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past
2014-12-15 11:05:13 +01: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
bc0978d01e
fixed GH #471 : vs2010 release builds have optimization disabled
...
fixed GH #616 : Visual Studio warning C4244
2014-11-20 21:22:52 +01: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
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
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
728e71116c
Updated CMakeLists files so test suites will build with wdexpress2012.
...
Possibly requiring update are:
Data/MySQL/testsuite/CMakeLists.txt
NetSSL_OpenSSL/testsuite/CMakeLists.txt
2014-10-27 09:36:08 +00:00
martin-osborne
2a90e7de92
Moved work for isue 532 into it's own branch.
2014-10-19 10:59:08 +01:00
Pascal Bach
e239c9de2a
CMake: DLL tests should not run if compiled static
2014-10-14 17:58:46 +02: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
Günter Obiltschnig
6fe2e4fb11
VS project files: do not share intermediate directory between projects in same folder
2014-10-06 13:51:49 +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
Guenter Obiltschnig
a293d04b37
disable isRunning test on WinCE
2014-09-14 11:49:40 +02:00
Pascal Bach
7950001803
cmake: Cleanup CMakeLists.txt for all components
...
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code
The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +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
Aleksandar Fabijanic
828732f774
Merge pull request #514 from yuvalk/develop
...
add is_running support
2014-08-12 18:35:27 -05:00
Yuval Kashtan
04116d6593
add tests for Process::isRunning
2014-08-12 11:03:54 +03:00
Günter Obiltschnig
30bb18f394
added VS2013 project/solution files for Windows Embedded Compact 2013
2014-08-09 10:49:04 +02:00
Pascal Bach
975c30faf0
Add CTests for all components
2014-06-17 11:30:03 +02: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
Aleksandar Fabijanic
d4ef034958
Merge pull request #319 from csabakeszegh/develop
...
android build with cmake
2014-05-21 22:20:39 -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
Alex Fabijanic
1aa28e1491
GH #290 : Unicode support
2014-05-21 03:28:24 -05:00
Roger Meier
b0581433a7
LICENSE: add info about SPDX-License-Identifier usage and use it
...
fix: remove executable flag and change back to 100644 (was 100755)
Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Alex Fabijanic
8a9e7792d9
- fixed GH #362 : Defect in Var::parseString when there is no space between value and newline
...
- fixed GH #314 : JSON parsing bug
- added GH #313 : MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05:00
Guenter Obiltschnig
8c14ffe335
make trySleep test a bit more stable
2014-04-29 13:25:38 +02:00
Pascal Bach
d9a594e184
NumberParser::parseUnsigned should not parse negative numbers
...
The function should abort if a negative number (e.g. "-123") is passed as input
2014-04-28 16:16:48 +02:00
Alex Fabijanic
695ba1b0ee
remove sleep calls from Runnable
2014-04-26 16:04:17 -05:00
Alex Fabijanic
63850e8778
- return bool from Thread::trySleep()
...
- updated documentiation
- amended tests
- updated CHANGELOG
2014-04-26 09:51:57 -05:00
Alex Fabijanic
46b5785d98
- fixed PS build script environment vars generation
...
- fixed MongoDB 64-bit std::size_t warnings
- added Thread::trySleep()/wakeUp() and tests
2014-04-25 23:50:53 -05:00
Guenter Obiltschnig
e044d77717
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac
updated SDK in WEC2013 project files
2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9
re-generated VS2013 testsuite projects without MFC
2014-04-21 22:10:34 +02:00
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Pascal Bach
f20994e2c3
Add missing files to CMakeLists.txt
...
This makes Poco compile with CMake again.
2014-03-12 13:58:32 +01:00
Alex Fabijanic
ea666bb16b
Building Poco 1.5.2 for Synology RS812+ (Intel Atom) #405
2014-03-10 21:20:18 -05:00
Alex Fabijanic
e3d7fc104e
Parse JSON as structure #365
2014-03-07 20:45:32 -06:00
Günter Obiltschnig
aee4a3e0d4
updated VS project files for PBKDF2
2014-03-02 23:21:36 +01:00
Guenter Obiltschnig
7175be3f52
added Poco::PBKDF2Engine
2014-03-02 22:55:21 +01:00
Rangell Reale
12c2b3d290
* Glob from start path, for platforms where it is not possible to transverse from root (Android)
2014-01-21 17:15:52 -02:00
Linquize
5ee5174126
Add /FS compile options to avoid errors
...
Force Synchronous PDB Writes
2014-01-16 08:03:50 +08:00
Guenter Obiltschnig
fefdee93f7
GH #360 : CMakeLists foundation: add Clock.cpp in the list of source files
2013-12-24 09:20:35 +01:00
Guenter Obiltschnig
54d56397b9
fixed license headers
2013-12-16 18:35:22 +01:00
Guenter Obiltschnig
ac2b26fcb9
added Clock class which provides a monotonic clock on most platforms and is now used by Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::UtilTimer to avoid issues when the system time is changed
2013-12-12 18:33:29 +01:00
Csaba Keszegh
edf0ab9dba
cmake: missing files added to CMakeLists.txt
...
fix: linker error for testsuits
2013-12-05 10:18:15 +01:00
Csaba Keszegh
8b3561a525
cmake: android support
...
Foundation/src/Error.cpp: ndk-r9 define _GNU_SOURCE in features.h but only the XSI-compliant strerror_r in string.h
2013-12-05 10:18:15 +01:00
Rangel Reale
0d2a839f79
* Multipart form content length calculation
...
* HTMLForm test
2013-12-04 18:19:20 -02:00
Alex Fabijanic
1c732e9938
removed MFC dependencies (WinTestRunner) from test VS projects
2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621
VS 2013 projects/solutions
2013-11-05 23:11:28 -06:00
Guenter Obiltschnig
3314b88c18
Poco::UUID::tryParse() now accepts UUIDs without hyphens; updated documentation (fixed links to specs)
2013-09-03 14:42:50 +02:00
tokiloki
a499447b6a
format support both raw and STL strings
2013-08-15 18:31:57 +03:00
Guenter Obiltschnig
915265f2cb
integrated some changes from GH# 249
2013-07-30 14:31:36 +02:00
Aleksandar Fabijanic
20e1cf8821
JSON bug fixes
...
GH #241 : SF #620 Endless loop in JSON parser (added Buffer::setCapacity)
GH #242 : SF #619 Syntax error in JSON parser (float/double trim)
2013-07-21 22:18:56 -05:00
Alex
20005dbf87
fix signed/unsigned warnings
2013-06-16 11:37:37 -05:00
Aleksandar Fabijanic
923eb91bb8
mainly JSON tidy-up
2013-06-15 20:28:09 -05:00
alex
83ad8b36f5
fixed GH #138 : FreeBSD JSON tests fail
2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
0e6985c8a1
fixed GH #185
...
- fixed GH #185 : Poco::NumberFormatter::format(double value, int
precision) ignore precision == 0
2013-06-04 23:01:11 -05:00
Aleksandar Fabijanic
4826523831
fixed few GH issues
...
- fixed GH #209 : Poco::NumberFormatter double length
- fixed GH #204 : Upgrade zlib to 1.2.8
- fixed GH #198 : The "application.configDir" property is not always
created.
2013-06-03 23:45:06 -05:00
Alex
418290d081
fix clang warnings
2013-06-02 23:21:46 -05:00
aleks-f
a34ddb64ab
removed accidentally added gcc pragma
2013-06-02 23:01:28 -05:00
aleks-f
282374980c
gcc alignment and warning suppression
2013-06-02 22:56:18 -05:00
Aleksandar Fabijanic
9b021f8af4
more clang fixes
2013-05-27 21:33:29 -05:00
Aleksandar Fabijanic
38131d452d
Var/JSON changes
...
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Guenter Obiltschnig
0434ee2b6b
fixed GH# 65: Poco::format() misorders sign and padding specifiers
2013-05-24 23:54:15 +02:00
Aleksandar Fabijanic
225401743f
case-insensitivity for SessionPool
2013-04-21 21:39:37 -05:00
Aleksandar Fabijanic
f9aea9acdf
GH #144 : Poco::Dynamic emits invalid JSON
...
GH #144 : Poco::Dynamic emits invalid JSON
2013-04-06 11:04:33 -05:00
aleks-f
26c1131053
remove unused variable
2013-04-03 21:25:19 -05:00
aleks-f
acbcfc140a
removed SmallObjectAllocator
...
removed SmallObjectAllocator (moved to separate branch) and disabled
default SOO for Any and Dynamic::Var
2013-04-03 20:56:23 -05:00
aleks-f
6719d3448f
GH #140 : Poco::Runnable threading cleanup issue
2013-03-29 14:02:53 -05:00
aleks-f
b1c6065ffc
GH #75 : Poco::Uri addQueryParameter method
...
- added GH #75 : Poco::Uri addQueryParameter method
2013-03-19 22:51:04 -05:00
Alex
3efbbdc1f7
GH #79 : Poco::Thread leak on Linux
...
fixed GH #79 : Poco::Thread leak on Linux
2013-03-17 21:13:04 -05:00
Alex
1a474584c3
mac/clang build fixes
2013-03-17 12:41:15 -05:00
aleks-f
46c3d74c5f
RecursiveDirectoryIterator and ListMap
...
1) Recursive and SortedDirectoryIterator
- added to VS projects
- fixed some style/formatting
- fxed windows tests
2) Added ListMap
Poco::ListMap is a std::mulitimap-like container that preserves
insertion order (needed to prevent Net message headers)
2013-03-10 12:25:47 -05:00
aleks-f
38530dbdc6
multimap-like functionality
2013-03-09 22:31:49 -06:00
Guenter Obiltschnig
dc5c8c87da
- fixed GH# 116: Wrong timezone parsing in DateTimeParse (fix by Matej Knopp)
2013-03-06 07:50:02 +01:00