Commit Graph

583 Commits

Author SHA1 Message Date
Günter Obiltschnig
b7ad1f6c3a fixed mix of raw and smart pointers 2020-01-09 18:50:50 +01:00
Günter Obiltschnig
03d1dd9822 fixes for macos/clang 2020-01-09 11:53:03 +01:00
Günter Obiltschnig
1bf40a0cd2 merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8 2020-01-09 10:08:09 +01:00
Kacper Piwiński
29de485a46 unescape Backslash char in UTF8 unescape method 2019-12-16 22:43:40 +01:00
Günter Obiltschnig
9c197e0ed1 finally get rid of std::auto_ptr 2019-12-15 09:40:40 +01:00
Günter Obiltschnig
56fe4eaf97
Merge pull request #2842 from KevDi/feature/FileFailOnOverwrite
File fail on overwrite
2019-12-09 08:37:33 +01:00
Francis ANDRE
e59f37318e Add /MP option and remove /Gm as it is ignored and will be removed 2019-12-07 19:11:24 +01:00
KevDi
f6f8ef8681 Merge branch 'feature/FileFailOnOverwrite' of github.com:KevDi/poco into feature/FileFailOnOverwrite 2019-11-30 13:21:34 +01:00
KevDi
7f3271f1d0 Changes 2019-11-30 13:21:23 +01:00
Jan Kevin Dick
d5a25f2053 Added the Options Enum advice. 2019-11-26 13:03:43 +01:00
Jan Kevin Dick
1eab6cfd1f Refactor 2019-11-18 13:34:02 +01:00
Jan Kevin Dick
062a662cd8 Added Tests 2019-11-18 13:33:49 +01:00
Brice Gros
22c3ae8d30 allow to select long tests to be run from cmdline 2019-10-18 15:09:38 +02:00
Günter Obiltschnig
067ac73cc9 testsuite: assert() -> assertTrue() 2019-07-01 18:01:05 +02:00
Günter Obiltschnig
12897d3d63 fixed GH #2738: Poco::AccessExpireStrategy::onGet() must not extend expiration time after expiration 2019-07-01 17:51:38 +02:00
Francis ANDRE
63f819fc6d Remove printing PATH
Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
2019-02-10 17:25:25 +01:00
Francis ANDRE
4d7c1bd4c0 # WARNING: head commit changed in the meantime
Merge remote-tracking branch 'pocoproject/poco-1.9.1' into poco-1.9.1
2018-10-20 01:05:20 +02:00
Francis ANDRE
d2f164e4d1 Remove the prefix './' for Linux so that TestApp be anywhere 2018-10-11 19:23:54 +02:00
Francis ANDRE
cee1d25535 Update for Linux 2018-10-11 19:23:00 +02:00
Francis ANDRE
d316f9e1de Remove the "./" prefix for building the name of the TestApp executable.
Factor the name build in the SetUp method.
2018-10-10 16:56:06 +02:00
Francis ANDRE
9ea3493038 Update PATH with TestApp for the unittest Foundation:ProcessTest 2018-10-10 16:54:39 +02:00
Francis ANDRE
3e242f741a Fix update PATH with the TestApp directoy for ProcessTest 2018-10-05 15:31:16 +02:00
Francis ANDRE
4cd077101b Fix PATH for RunTestExecutable 2018-10-03 19:42:00 +02:00
Francis ANDRE
302d5b741f Use ':' as path separator 2018-09-30 16:58:53 +02:00
Francis ANDRE
4850dc134a Add TestApp.exe path to PATH for running ProcessTest 2018-09-30 16:44:28 +02:00
Francis ANDRE
7de5b1a776 Reformat 2018-09-28 16:31:45 +02:00
Francis ANDRE
4dbb2aa78d Cleanup 2018-09-28 15:48:15 +02:00
Francis ANDRE
0224849d9c Dump Crypto/guild/tmp/linkCryptoLinux64DebugSharedLibrary/* 2018-09-26 10:47:12 +02:00
Francis ANDRE
d7c18656f1 Remove wrong dependencies from TestApp 2018-09-25 14:40:17 +02:00
Francis ANDRE
ed07b476c8 Add TestLibrary as dependancy 2018-09-22 20:28:04 +02:00
Aleksandar Fabijanic
231ef2762d
Preserve entries order in DynamicStruct #2410 (#2413)
* Preserve entries order in DynamicStruct #2410

* disable C++11 default

* ifdef C++11 code
2018-08-01 08:06:59 -07:00
Aleksandar Fabijanic
142bbdcef3
add ordered containers (#2408)
* add ordered containers

* move ordered_map_util.h to its proper place

* add acknowledgement
2018-07-27 07:33:25 -07:00
Alex Fabijanic
256b6855fa increase tuple sizes to 40 2018-07-06 21:44:29 -05:00
Alex Fabijanic
98fd0b4124 increase TypeList max size to 40 2018-07-05 11:26:49 -05:00
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