Alex Fabijanic
84c2c5ea78
Merge branch 'develop' into pr/1113
2016-03-09 19:56:37 -08:00
Guenter Obiltschnig
139649fd61
TaskManager::count() now returns std::size_t; release mutex before posting progress notification
2016-03-09 20:22:44 +01:00
Alex Fabijanic
e388c9baa0
Merge branch 'develop' into pr/1113
2016-03-08 14:08:11 -08:00
Mathäus Mendel
7dda3867c6
Removed isnan and isinf from the namespace std for IBM XLC
...
Due to the implication of changing the standard library behavior on IBM XLC
when using the POCO Libraries, the functions from <cmath> previously added
to the namespace std are now guarded by #ifdef directives to cover only
the needed cases (IBM XLC compiler on AIX).
2016-03-08 09:53:46 -03:00
Aleksandar Fabijanic
c3041eefd5
Update TestSuite_vs120.vcxproj
2016-03-07 22:13:28 -08:00
Alex Fabijanic
3eb023132b
Merge branch 'develop' into pr/1113
...
Conflicts:
Foundation/testsuite/TestSuite_vs120.vcxproj
2016-03-07 21:38:26 -08:00
Mathäus Mendel
80ce6016dd
Fixed compilation error due to missing functions from cmath
...
IBM XLC has no functions from <cmath> under the std namespace. Added
a workaround for XLC on AIX.
2016-03-07 16:39:18 -03:00
Mathäus Mendel
5f94a74886
Removed "using std::swap" directive from nested namespace
...
IBM XLC refuses to compile since it tries to instantiate all the possible
specializations for std::swap, right before one.
2016-03-07 16:33:59 -03:00
Mathäus Mendel
d67c9ea6f2
On AIX, statfs takes a non-const char* as the first parameter. Fixing it.
...
Since the function does not change the content of the variable, it is safe
to remove the constness of the variable for UNIX platforms.
2016-03-07 16:31:07 -03:00
Mathäus Mendel
db95b94c8c
Fixed compilation on IBM XLC due to incorrect function call
...
Templated functions dependent of a templated class must be prefixed with
the "template" keyword.
2016-03-07 16:28:02 -03:00
Guenter Obiltschnig
3517302572
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2016-03-07 06:58:14 +01:00
Guenter Obiltschnig
357aab1c7c
bumped version of develop to 2.0
2016-03-07 06:57:52 +01:00
Alex Fabijanic
92225086a4
generated CppUnit and testsuites VS projects
2016-03-06 20:54:26 -08:00
Aleksandar Fabijanic
fd070a39be
Merge pull request #1154 from teminian/develop
...
Improved support for MinGW-w64
2016-03-06 19:13:00 -08:00
Günter Obiltschnig
5a1920c935
Merge pull request #1132 from TcT2k/FileDiskSpace
...
Add partition space information to File class
2016-03-05 15:01:28 +01:00
Guenter Obiltschnig
c4c9bcb034
one more fix for #1002
2016-02-29 19:13:19 +01:00
Guenter Obiltschnig
ad492bdfcc
added additional testcase for #1128
2016-02-29 10:43:41 +01:00
Alex Fabijanic
9fef0338ce
Poco::NumberFormatter::format(float, precision) rounding changed #1128 (tests fix)
2016-02-28 23:02:51 -06:00
Alex Fabijanic
14a0872556
Poco::NumberFormatter::format(float, precision) rounding changed #1128
2016-02-28 22:59:29 -06:00
Alex Fabijanic
32f3f4a146
merge Data changes (ODBC Sybase, PostgreSQL etc)
2016-02-28 11:06:08 -06:00
Guenter Obiltschnig
4e85aa4df2
fixed GH #1128 : Poco::NumberFormatter::format(float, precision) rounding changed
2016-02-28 13:33:21 +01:00
Guenter Obiltschnig
861303267e
fixed GH #1002 : ActiveDispatcher saves reference to event context after event was performed until it gets new event
2016-02-27 17:49:54 +01:00
Guenter Obiltschnig
a1d8591dfd
fixed GH #1141 : Poco::StringTokenizer::TOK_TRIM changes behavior between 1.4 and 1.6
...
Conflicts:
Foundation/include/Poco/StringTokenizer.h
Foundation/src/StringTokenizer.cpp
2016-02-27 16:19:25 +01:00
Guenter Obiltschnig
53353d6ec1
support for Win8/Win10
2016-02-22 11:50:52 +01:00
teminian
dd9c4e607e
Improved support for MinGW-w64
...
Added following #defines which is not defined in MinGW header:
#define _RC_CHOP 0x00000300
#define _RC_UP 0x00000200
#define _RC_DOWN 0x00000100
#define _RC_NEAR 0x00000000
Use isfinite(), instead of _finite(), for isInfiniteImpl().
Use isnan(), instead of _isnan(), for isNaNImpl().
Use copysign(), instead of _copysign(), for copySignImpl().
2016-02-17 17:00:34 +09:00
Günter Obiltschnig
81e15f393f
Merge pull request #1127 from vmiklos/data-wshadow-fixes
...
GH #1050 Data: fix gcc -Wshadow warnings
2016-02-16 10:03:08 +01:00
Guenter Obiltschnig
94dbc1f34c
fix comment; don't send TaskProgressNotification if progress does not change
2016-02-13 20:22:02 +01:00
Scott Talbert
7c10b9f4da
Add support PPC64LE (little endian)
...
PPC64 has both big and little endian variants; add support for LE.
2016-02-06 20:39:15 -05:00
Tobias Taschner
9972496811
Add partition space information to File class
...
Add File::totalSpaceImpl(), File::usableSpaceImpl() and File::freeSpaceImpl() to retrieve total, available and usable space in the filesystem for the specified path.
2016-01-22 09:58:40 +01:00
Guenter Obiltschnig
b5572b3e59
add Path::PATH_URI for URI paths (same as PATH_UNIX)
2016-01-19 11:45:35 +01:00
Miklos Vajna
6d1a4f20ba
GH #1050 Data: fix gcc -Wshadow warnings
2016-01-18 22:52:27 +01:00
Francis ANDRE
e52e172baf
removed includes
2016-01-11 19:00:18 +01:00
Aleksandar Fabijanic
7206943c17
Merge pull request #1117 from vmiklos/cppunit-wshadow-fixes
...
GH #1050 CppUnit: fix gcc -Wshadow warnings
2016-01-11 10:21:07 -06:00
Miklos Vajna
c39c0aaf9d
GH #1050 CppUnit: fix gcc -Wshadow warnings
...
Also in Foundation tests.
2016-01-11 09:11:46 +01:00
FrancisANDRE
ccf824a806
Merge remote-tracking branch 'pocoproject@github/develop' into PocoCppUnit
2016-01-10 11:57:27 +01:00
Mike Gelfand
0425866486
Allow for process termination when polling with isRunning
...
On *NIX, one needs to call `waitpid()` in order for process to exit the
zombie state. If one uses `Process::isRunning()` to emulate non-blocking
wait for child process termination, process will stay zombie and function
will always return true.
This commit changes `Process::isRunning()` to call `waitpid()` with
`WNOHANG` instead of using `kill()` when checking for child process (i.e.
the one we have ProcessHandle for), which allows for process termination.
Additional trickery with mutex and event is needed to prevent exceptions
when `Process::isRunning()` and/or `Process::wait()` is called concurrently
on the same handle from different threads.
Fixes #1097 .
2016-01-09 02:36:55 +03:00
FrancisANDRE
ce797f7700
Make CppUnit a component of Poco
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-08 00:17:13 +01:00
FrancisANDRE
bc22588895
.bashrc exists only with bash shell while .profile exists always
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-05 05:20:40 +01:00
Miklos Vajna
12d0699b5b
GH #1050 Net: fix gcc -Wshadow warnings
2015-12-29 20:20:48 +01:00
FrancisANDRE
6e97a9f11b
Split tests into samples & tests.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
FrancisANDRE
d927b28b7e
Exclude from the Debug build temporarly for AppVeyor stability. To be fixed later on.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-13 14:09:07 +01:00
FrancisANDRE
9039ae6b2f
Merge remote-tracking branch 'pocoproject@github/develop' into develop
...
Conflicts:
buildwin.ps1
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-13 12:11:35 +01:00
FrancisANDRE
d15d8a604e
Exclude from the Debug build temporarly for AppVeyor stability.To be restored later on.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-13 10:09:25 +01:00
FrancisANDRE
2f3230fdaf
use VS macro instead of hard literal.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 19:20:23 +01:00
FrancisANDRE
3f1b573b04
No 'd' suffix for TestApp whatever the link mode release or debug
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 18:42:19 +01:00
FrancisANDRE
2c601fd12b
Restore suffix for TestLibrary.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 15:34:51 +01:00
FrancisANDRE
48df5efc15
Remove the "d" suffix for TestApp binary.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 14:22:50 +01:00
FrancisANDRE
735689c38c
Remove the suffix() from TestLibrary path.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 14:22:13 +01:00
FrancisANDRE
4027a0581b
Reformat
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 14:20:33 +01:00
FrancisANDRE
07ba367dff
Merge remote-tracking branch 'pocoproject@github/develop' into develop
2015-12-11 18:55:14 +01:00