Commit Graph

1219 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Aleksandar Fabijanic
cfdf3e4134 Merge pull request #1082 from RangelReale/mscver
* Add VS2015 platform
2015-12-11 11:20:12 -06:00
Rangel Reale
132dc458f2 * Add VS2015 platform 2015-12-11 15:18:50 -02:00
FrancisANDRE
4e6bdab51d Merge remote-tracking branch 'pocoproject@github/develop' into develop 2015-12-11 16:49:53 +01:00
FrancisANDRE
0e6f735921 Merge remote-tracking branch 'pocoproject@github/develop' into develop 2015-12-11 11:08:46 +01:00
FrancisANDRE
0bb0361ffd Use Clock instead of Timestamp which is inaccurate on multicode CPU.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-11 10:29:14 +01:00
Miklos Vajna
ce8fa7740c GH #1050 JSON: fix gcc -Wshadow warnings 2015-12-11 08:32:53 +01:00
Aleksandar Fabijanic
1483d0d112 Merge pull request #1073 from RangelReale/windowshleak
Don't leak <windows.h> (Poco/UnWindows.h) to library users
2015-12-10 21:11:05 -06:00
Mike Gelfand
2ea1d07c2c Unmask SIGINT when testing termination by signal
This will ensure that default signal handler is called (instead of possibly
ignoring the signal if it was masked by one of parent processes) and the
process is indeed terminated abnormally.
2015-12-10 21:47:52 +03:00
Guenter Obiltschnig
a80d2a5c9d fixed insert call 2015-12-10 18:48:18 +01:00
Rangel Reale
b47f38fc33 * Don't leak <windows.h> (Poco/Unwindows.h) to library users 2015-12-10 13:16:02 -02:00
Guenter Obiltschnig
dfe52ac11c fix ordering behavior of insert to match doc 2015-12-10 09:46:11 +01:00
Guenter Obiltschnig
fbf10469b3 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-12-08 14:55:20 +01:00
Aleksandar Fabijanic
cf02d38986 Merge pull request #1066 from fbraem/develop
Escape Unicode in JSON
2015-12-07 11:56:49 -06:00
fbraem
18b92b5b36 Use escape to correctly escape unicode characters 2015-12-07 17:33:10 +01:00
fbraem
7086d93324 Add escape/unescape functions 2015-12-07 17:31:49 +01:00
Alex Fabijanic
95f1a7c30d Process hangs on waitpid #1063 2015-12-06 23:18:29 -06:00
Alex Fabijanic
4499062f0d add rpath for test dynamic library; silence unused warnings for test 2015-12-06 22:08:18 -06:00
FrancisANDRE
3c2a83d2ee Use POCO_BASE for looking for test data directory.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-06 09:07:31 +01:00
Guenter Obiltschnig
dc2e299bef Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-12-05 11:54:07 +01:00
Miklos Vajna
b9cfd346a1 GH #1050 Foundation: fix gcc -Wshadow warnings 2015-11-30 15:49:07 +01:00
zosrothko
94bb16fdee Include <pcre.h> for an unbundled build. 2015-11-17 18:45:44 +01:00
Guenter Obiltschnig
e896d92585 fix error handling in setThreadName (#1022) 2015-11-13 11:12:09 +01:00
Guenter Obiltschnig
825e99578a GH #1022: clean-up setThreadName 2015-11-10 10:07:48 +01:00
Kim Grasman
883cdb7b14 Fix #928: Workaround to fix -Wswitch warning 2015-10-13 21:58:56 +02:00