Commit Graph

549 Commits

Author SHA1 Message Date
Francis ANDRE
b2c569ec0b Merge remote-tracking branch 'origin/poco-1.9.1' into poco-1.9.1-remove-wintestrunner 2018-06-20 12:00:19 +02:00
Francis ANDRE
5dbb9cc3de Regenerating VisualStudio projects 2018-06-20 09:47:40 +02:00
Francis ANDRE
b7330492e5 Add <TargetMachine>MachineX64</TargetMachine> on <Lib> element 2018-06-15 14:28:43 +02:00
Alex Fabijanic
312dc3325b add struct tm support to DateTime #2365 2018-06-12 09:54:35 -05:00
Francis ANDRE
19eecbaafb Remove WinTestRunner 2018-06-10 19:46:19 +02:00
Alex Fabijanic
d02294a67f force NaN not infinity on windows (consistent with std and other platforms) 2018-06-05 00:42:40 -05:00
Alex Fabijanic
d7a98bf403 remove global scope for int types 2018-06-03 16:19:19 -05:00
Alex Fabijanic
b30683fd6d backport NumericString from develop (fixes #2250) 2018-06-03 13:52:25 -05:00
Joerg-Christian Boehme
612f092235 Cleanup cmake build system to use transitive dependency management from cmake (#2321)
* Some cleanup in the root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* Set proper scope

* Change crypto default to off

* Fix openssl default to on

* Remove global setting of C99 standard

* Set from C11 to C99

* Fix for NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _CRT_SECURE_NO_WARNINGS as target compile definitions

* Add _AFXDLL as target compile definitions

* Remove commented out line

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Use cmake property to build shared libs

* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Add POCO_STATIC for CppUnit

* Cleanup target link libraries and add option dependencies.

* Add dependencies management in cmake

* Update cmake documentation

* Squashed commit of the following:

commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7

    Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231)

    - abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
     - a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
     - minor indentation problems corrected

commit 4cbdfbe828943871618172f9e042176f115d61d8

    Fix build dependencies

* Improve database cmake build dependencies

* Update doc

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build system

* Fix PostgreSQL build

* Fix PostgreSQL build in cmake

* Fix PostgreSQL from SQL to Data

* Squashed commit of the following:

commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4

    Add missing cmake file

* Set path to PostgresSQL in AppVoyer

* Try to fix AppVeyor build

* show dir in appvoyer

* Disable PostgreSQL build on Appvoyer

* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
4542a15b86 Append 'd' to 'TestApp' when compiling with _DEBUG 2018-06-03 16:05:49 +02:00
Aleksandar Fabijanic
c4e676d36d
Feature net udp (#2347)
* add PMTU discovery #2329

* add socket gather/scatter capabilities #2330 (win, udp)

* enable WSAPoll

* add FastMemoryPool

* add receiveFrom() with native args

* allow copying of StringTokenizer

* add AtomicFlag and SpinlockMutex

* update .gitignore

* UDPServer and client #2343 (windows)

* fix warnings

* fix warnings

* regenerate Net VS solutions

* regenerate CppUnit projects/solutions

* clang fixes

* gcc fixes

* try to fix travis

* more travis fixes

* more travis fixes

* handle UDPClient exception

* fix makefiles and init order warnings

* add UNIX gather/scatter sendto/recvfrom implementations and tests

* run travis tests as sudo

* try to run tests as sudo, 2nd attempt

* fix warning

* use mutex in reactor

* lock-order-inversion in SocketReactor #2346

* add PMTU discovery #2329 (linux)

* ICMPSocket does not check reply address #1921

* remove some ignored tests

* add PMTU discovery #2329 (reconcile logic with #1921)

* fix native receiveFrome()

* reinstate ignoring of proxy errors

* add testMTU to ignore list

* add include atomic

* NTPClient not checking reply address #2348

* some ICMP/MTU fixes

* UDPSocketReader cleanup

* resolve some socket inheritance warnings

* add NTP time sync to ignored tests

* SocketNotifier not thread-safe #2345

* prevent x64 samples build attempt for win32

* build TestApp and Library

* fix ICMP tests

* regen VS projects

* regen VS projects and add missing 2012 files

* remove debug prints
2018-06-02 14:02:33 -05:00
Francis ANDRE
d1beb204d7 Use clout instead of clog 2018-06-01 13:55:47 +02:00
Francis ANDRE
3a0447521c Add log clog << "p.toString(Path::PATH_VMS)=" <<
p.toString(Path::PATH_VMS);
2018-06-01 07:27:43 +02:00
Francis ANDRE
4c22b871ae Use CppUnit as a Poco module: regenerate all VS projects 2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33 Add Poco as prefix of CppUnit import libs 2018-05-28 19:58:05 +02:00
Francis ANDRE
a70e63d4fb Fix typo in input linker libs 2018-05-26 18:00:42 +02:00
Francis ANDRE
013cfe8b17 Fix typo in input linker libs 2018-05-26 16:54:04 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
zosrothko
960ecb38f0 Poco 1.9.1 assert true (#2255)
* Rename assert by assertTrue

* Update submodules

* Missing assertTrue

* Rename poco_assertTrue to poco_assert

* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Jörg-Christian Böhme
63b95fd4aa Fix ClassLoader and SharedLibrary test for android (#2209) 2018-03-19 07:54:58 +01:00
Joerg-Christian Boehme
a02c5dc830 Exclude ClassLoader and SharedLibrary test for android build. Its failing, need a fix. 2018-03-08 20:39:32 +01:00
Jörg-Christian Böhme
a1a8e9d585 Cleanup cmake android test 2018-03-08 20:32:24 +01:00
Günter Obiltschnig
f36827f5ce fixes for WEC2013 2018-03-07 12:46:02 +01:00
Günter Obiltschnig
7eb1325bba style fixes 2018-03-05 15:05:04 +01:00
Jörg-Christian Böhme
181fc0eea3 Fix unit tests for android build 2018-03-04 21:26:08 +01:00
Joerg-Christian Boehme
9feabc7723 Add android build on travis (#1981)
* Add build for android in travis CI.

* Fix review findings. Change from __ANDORID__ to POCO_ANDROID

* Add android test

* Fix compile issue after rebase

* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Günter Obiltschnig
260aee9b04 Merge branch 'poco-1.8.2' of https://github.com/pocoproject/poco into poco-1.8.2 2018-02-13 21:32:34 +01:00
Günter Obiltschnig
6ed085f288 fixed doc typos; changed maximum sequence length to 4 2018-02-13 21:32:17 +01:00
Conor Burgess
2632f34e85 Stricter JSON standard conformance (#2153) 2018-02-13 07:26:20 -06:00
Alex Fabijanic
fc47df04cd #2142 #2137 cherry pick 3 2018-02-08 20:01:36 -06:00
Aleksandar Fabijanic
fbd229ee4a #2142 #2137 cherry pick 2 2018-02-08 19:45:37 -06:00
Aleksandar Fabijanic
bd81aec779 #2142 #2137 cherry pick 1 2018-02-08 19:41:44 -06:00
Günter Obiltschnig
f0a79015f7
Merge pull request #1970 from Kampbell/poco-1.8.0
Poco 1.8.0
2017-11-08 13:28:14 +01:00
Günter Obiltschnig
b96b07a9ad
Merge pull request #1882 from Burgch/uint64-dynamic-var
Add support for (unsigned) long long when long is 64bit
2017-11-07 15:18:48 +01:00
zosrothko
1193c174f6 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-02 20:14:30 +01:00
Guenter Obiltschnig
646c22c586 GH #1412: added Poco::DigestEngine::constantTimeEquals() 2017-11-01 17:38:12 +01:00
zosrothko
57befa2bdc Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-11-01 09:02:13 +01:00
Guenter Obiltschnig
d1189787d6 fix Base64Test for gcc 2017-10-31 20:05:09 +01:00
Francis ANDRE
5591d10a21 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-10-31 18:11:51 +01:00
Guenter Obiltschnig
a9f0279382 Base64Encoder/Decoder: added support for 'base64url' encoding
Conflicts:
	Foundation/src/Base64Decoder.cpp
	Foundation/src/Base64Encoder.cpp
2017-10-31 12:46:18 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Alex Fabijanic
1a18621ff8 ifdef auto_ptr 2017-10-24 21:55:33 -05:00
Alex Fabijanic
056a411083 individually disable g++ unused warnings 2017-10-07 13:47:42 -05:00
Alex Fabijanic
6efab2cd58 back-port JSON and accompanying Foundation portions (JSONString, Dynamic::Var etc) 2017-09-25 15:15:05 -05:00
Conor Burgess
fe693de41d Add support for (unsigned) long long when long is 64bit 2017-09-11 15:55:54 +01:00
Günter Obiltschnig
8b52be675b remove obsolete VMS and VxWorks build system support 2017-09-09 11:15:29 +02:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Günter Obiltschnig
43a0490a70 fixed GH #1523: Long path names under Windows 2017-02-02 20:56:30 +01:00
Guenter Obiltschnig
8290da2a82 fixed GH #1456: better handle leap seconds in Poco::DateTime and Poco::LocalDateTime 2016-10-17 19:05:53 +02:00
Guenter Obiltschnig
f848106fca added test for ws/wss schemes 2016-07-03 11:58:25 +02:00
Guenter Obiltschnig
50240732f9 pre c++11 fixes 2016-04-21 09:25:26 +02:00
Guenter Obiltschnig
60987f5949 fixed GH #1253: ListMap does not maintain insertion order if key already exists 2016-04-21 09:24:59 +02:00
Günter Obiltschnig
913346c23d fixes for compatibility
Conflicts:
	Foundation/src/Process_WIN32.cpp
	Foundation/src/Process_WIN32U.cpp
2016-04-15 17:50:47 +02:00
Tony Abbott
6d17089b6c GH #1222 Escape command line arguments passed to Process::launch() on Windows
Conflicts:
	Foundation/testsuite/src/TestApp.cpp
2016-04-15 17:43:38 +02:00
Günter Obiltschnig
3d1a094725 Merge pull request #1026 from zosrothko/Cygwin
Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
2016-02-28 15:29:08 +01:00
Guenter Obiltschnig
8c607d3213 fixed GH #1128: Poco::NumberFormatter::format(float, precision) rounding changed 2016-02-28 13:32:54 +01:00
Guenter Obiltschnig
925caa8dd3 fixed GH #1141: Poco::StringTokenizer::TOK_TRIM changes behavior between 1.4 and 1.6 2016-02-27 16:10:06 +01:00
FrancisANDRE
603e43ee7d Revert "Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.""
This reverts commit e1c0db371d.
2015-11-10 14:19:06 +01:00
FrancisANDRE
e1c0db371d Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined."
This reverts commit 7d7bbfe5b2.
2015-11-10 14:11:08 +01:00
FrancisANDRE
7d7bbfe5b2 avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:09:53 +01:00
FrancisANDRE
9dc9aa7d17 use /dev/tty instead of /dev/consile for Cygwin
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:08:35 +01:00
FrancisANDRE
b4b42d2215 avoid testing FPE when POCO_NO_FPENVIRONMENT is defined
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:07:40 +01:00
aaron0x
3066e66f32 Enhance FileChannel purge setting. 2015-10-02 09:35:18 +02:00
Guenter Obiltschnig
bcead85c25 remove GCC_DIAG_OFF 2015-09-30 12:16:09 +02:00
Guenter Obiltschnig
4894222fe9 remove testcase causing travis failure 2015-09-30 11:10:35 +02:00
Guenter Obiltschnig
d3382b5934 NumberParser::parseHex[64](): allow 0x/0X prefix 2015-09-11 08:18:17 +02:00
Guenter Obiltschnig
b083364a94 fix GH #931: make strToInt() more strict in what it accepts 2015-09-11 08:16:44 +02:00
Guenter Obiltschnig
aee279719b MemoryStreamTest: workaround for clang/OS X 2015-08-01 12:11:35 +02:00
Günter Obiltschnig
4f0b692d66 added project and solution files for VS2015 2015-08-01 10:29:32 +02:00
Guenter Obiltschnig
1839606332 merge fix for #722 2015-07-31 12:32:52 +02:00
Guenter Obiltschnig
84094a4764 integrate fix for #769 2015-07-31 12:18:44 +02:00
Guenter Obiltschnig
e4dcb85c1f merge fix for #878 2015-07-31 12:17:20 +02:00
Alex Fabijanic
25cd53d953 Poco::Var operator== throws exception #769 2015-04-03 10:46:07 -05: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
Scott Davis
e3c5cd30dc Test preservation of write attribute on file copy 2015-01-16 15:10:10 -05: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
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
Marian Krivos
4573b5e6be SF Feature requests #168 and #163 2013-02-19 21:29:58 +01:00
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
aleks-f
9378680c0b Merge remote-tracking branch 'origin/ip-address-soo' into develop 2013-02-17 16:33:44 -06:00
aleks-f
72b5b7acae GH #80: NumberFormatter::append broken
fixed GH #80: NumberFormatter::append broken
2013-02-07 21:43:40 -06:00
aleks-f
ddfa52eefa some refactoring 2013-02-03 12:03:01 -06:00
aleks-f
1821716d29 more tests and other changes
- ported complete suite of boost::any tests
- improved reference casting
- added swap in SOO version
2013-02-02 20:37:39 -06:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06:00
arturo
f731dbb400 testsuite for void event 2013-01-23 10:11:43 +01:00
Aleksandar Fabijanic
9cf7dd9043 fix VS 2003 warnings 2013-01-06 11:10:53 -06:00
aleks-f
c61f8d3a9e Merge remote-tracking branch 'origin/FIFOBuffer-eof-error' into develop 2013-01-05 14:03:42 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -06:00
aleks-f
b153850188 FIFOBuffer EOF and error support
FIFOBuffer now supports EOF and error conditions. If EOF flag is set,
buffer will not accept writing but will allow reading of the remainder
of data. After it is emptied, buffer remains in EOF state until flag is
cleared. Setting error flag, immediately empties the buffer and prevents
any I/O operation until flag is cleared. Flag setting will trigger
transiton notifications (if notifications are enabled). For details, see
the code diffs.
2013-01-02 23:19:07 -06:00
Aleksandar Fabijanic
666fe51a7b fixed VS90 Foundation projects 2012-12-26 22:24:49 -06:00
Aleksandar Fabijanic
16533ef73b fix XP/VS2003 tests 2012-12-20 21:18:06 -06:00
aleks-f
9a67596f00 Revert "Base64Decoder drops 0x0d characters on windows"
This reverts commit 79549f85dd.
2012-12-20 20:05:10 -06:00
aleks-f
79549f85dd Base64Decoder drops 0x0d characters on windows
SF #605 Base64Decoder drops 0x0d characters on windows
2012-12-19 21:48:26 -06:00
Alex
6fa1270163 fixed test compile on Mac/clang 2012-12-19 00:57:44 -06:00
Alex
634132455b remove bad char at file beginning 2012-12-16 22:41:41 -06:00
Aleksandar Fabijanic
031302469f revise ODBC Unicode string functions
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
5d463c3a1c GH 30:Poco::Path::home() throws
GH #30: Poco::Path::home() throws when called from Windows Service
done for Win32 and Win32U, return root for WinCE
2012-12-14 12:09:23 -06:00
Aleksandar Fabijanic
e21d1f5fcc Merge pull request #21 from patrickjwhite/logger_patternFormatter
PatternFormatter specific-length source and optimizations.
2012-12-11 09:03:01 -08:00
Patrick White
f0ad6127ab Add tests for the new message length functionality for messageSource. 2012-12-10 23:48:10 -05:00
aleks-f
7327be4735 Poco::URI::decode() doesn't properly handle '+'
GH #27: Poco::URI::decode() doesn't properly handle '+'
2012-12-05 22:28:43 -06:00
aleks-f
eaa74307a6 see CHANGELOG
- added Poco::istring (case-insensitive string) and Poco::isubstr
(case-insensitive substring search)
- improved SQLite execute() return (affected rows) value
- added SQLite sys.dual (in-memory system table)
- applied SF Patch #120: The ExpireLRUCache does not compile with a
tuple as key on Visual Studio 2010
- fixed SF Bug #599: JSON::Array and JSON::Object size() member can
implicitly lose precision
- fixed SF Bug #602: iterating database table rows not correct if no
data in table
- fixed SF Bug #603: count() is missing in HashMap
- fixed GH #23: JSON::Object::stringify throw BadCastException
- fixed GH #16: NetworkInterface::firstAddress() should not throw on
unconfigured interfaces
- Android compile/build support (by Rangel Reale)
- TypeHandler::prepare() now takes const-reference
2012-12-04 23:33:44 -06:00
aleks-f
0c4d2590f7 SF Bug 603
SF Bug #603 count() is missing in HashMap
https://sourceforge.net/p/poco/bugs/603/
2012-12-02 21:43:16 -06:00
aleks-f
134558f926 double-conversion floating-point conversions
- using double-conversion library for floating-point numeric/string
conversions
- added string replace[InPlace], remove[InPlace]
- reverted overwritten FileChannel purge age and count features
- file size value checks in SMTPClient
2012-12-01 14:10:09 -06:00
aleks-f
9dd1482a02 add locale tests to ensure point is enforced
tests ensuring that default number to string conversion retains point
being decimal separator regardless of locale
2012-12-01 14:10:07 -06:00
Alex
dd2e677f8a separate function for unsigned to string conversion
Separated unsigned integer conversion to eliminate warnings (and
slightly improve performance). Added Darwin-clang warning suppression
for unused functions/variables
2012-12-01 14:10:06 -06:00
aleks-f
91d5be438b replaced stream-based number formatting
embedded a portion of double-conversion library
(http://code.google.com/p/double-conversion/)and replaced stream-based
number formatting
2012-12-01 14:10:04 -06:00