Commit Graph

4165 Commits

Author SHA1 Message Date
Günter Obiltschnig
a73eef0487 improvement of URIStreamOpener::open() implementation 2016-09-29 19:07:52 +02:00
Guenter Obiltschnig
e87a3a6e45 style fix 2016-09-29 17:44:34 +02:00
Günter Obiltschnig
5d8faa371e added URISyntaxException; better error handling in URIStreamOpener 2016-09-29 17:42:49 +02:00
Guenter Obiltschnig
61e0561182 fixed GH #1429: exception thrown in MongoDB when using replicaset 2016-09-28 12:31:48 +02:00
Guenter Obiltschnig
dd30db6ca9 fixed Klocwork issues 2016-09-26 19:29:55 +02:00
Guenter Obiltschnig
18e594e7ff fixed issues reported by Klocwork 2016-09-26 19:22:47 +02:00
Guenter Obiltschnig
78f954f58f fixed issues reported by Klocwork 2016-09-26 19:22:32 +02:00
Guenter Obiltschnig
b0140637d5 fix uninitialized member in ctor 2016-09-26 19:22:20 +02:00
Guenter Obiltschnig
142ad28494 initialize all members in ctor 2016-09-26 19:22:07 +02:00
Guenter Obiltschnig
9c684af478 handle unlikely situation that XML_ParserCreate() fails 2016-09-26 19:21:47 +02:00
Guenter Obiltschnig
9bd74daef9 fixed uninitialized members in ctor 2016-09-26 19:21:23 +02:00
Guenter Obiltschnig
eabae863bb fixed uninitialized member in ctor 2016-09-26 19:21:07 +02:00
Guenter Obiltschnig
1bb795e7ed initialize all members in default ctor 2016-09-26 19:19:27 +02:00
Guenter Obiltschnig
8935e19bbc fixed potential memory leak in out-of-memory situations 2016-09-26 19:19:14 +02:00
Guenter Obiltschnig
34b9b1284c fixed uninitialized _encoding member 2016-09-26 19:18:56 +02:00
Guenter Obiltschnig
5d750ac8ed fixed issues reported by Klocwork 2016-09-26 19:18:44 +02:00
Guenter Obiltschnig
b1004587b2 code cleanup; fixed some issues reported by Klocwork 2016-09-26 19:18:28 +02:00
Guenter Obiltschnig
c943727354 style fix 2016-09-26 19:17:38 +02:00
Guenter Obiltschnig
b0026b6a1c style fix 2016-09-26 19:17:21 +02:00
Guenter Obiltschnig
89998df17a bugfix: _null member not initialized in ctor 2016-09-26 19:17:08 +02:00
Guenter Obiltschnig
68e3676ddc fixed an unlikely potential memory leak if one of two new fails 2016-09-26 19:16:54 +02:00
Guenter Obiltschnig
f1b75ec442 updated .gitattributes linguist settings 2016-09-21 08:31:23 +02:00
Guenter Obiltschnig
ad1be5fe87 fixed GH #1418:Poco::Delegate assignment operator fails to compile for some specializations 2016-09-20 20:48:36 +02:00
Guenter Obiltschnig
e87a8fe962 handle MySQL connection lost/server gone when starting a transaction 2016-09-15 12:01:30 +02:00
Guenter Obiltschnig
dcdcee5afa minor fixes for style 2016-09-14 17:06:55 +02:00
Günter Obiltschnig
f0402f2773 Merge pull request #1315 from kimgr/bugcheck-abort
Redefine Poco assertions for static analysis
2016-09-14 16:49:27 +02:00
Guenter Obiltschnig
ae3c4a4ba3 fixed some warnings and minor issues detected by clang-analyzer
Conflicts:
	Data/src/RecordSet.cpp
2016-09-13 11:40:59 +02:00
Günter Obiltschnig
fbbf197fd2 Update README.md 2016-09-13 07:45:35 +02:00
Günter Obiltschnig
2701c2e0ca Update README.md 2016-09-13 07:17:16 +02:00
Günter Obiltschnig
dfb03273c6 Update README.md 2016-09-13 07:16:40 +02:00
Günter Obiltschnig
75a43b8723 Update CONTRIBUTING.md 2016-09-13 07:15:12 +02:00
Günter Obiltschnig
251cb4aa2c Update README.md 2016-09-12 19:35:37 +02:00
Günter Obiltschnig
1fa6f34882 Update CONTRIBUTING.md 2016-09-12 18:54:25 +02:00
Günter Obiltschnig
df37d79f88 Update CONTRIBUTING.md 2016-09-12 18:53:58 +02:00
Günter Obiltschnig
762e1ff899 Update CONTRIBUTING.md 2016-09-12 18:53:26 +02:00
Guenter Obiltschnig
eb01c3f539 don't include connection string in exception message 2016-09-11 01:40:28 +02:00
Günter Obiltschnig
7ee5bc96f0 Merge pull request #1400 from Kampbell/develop
AppVeyor fixup
2016-09-09 19:54:51 +02:00
zosrothko
9cb7979dc9 Fix space issue with the msbuild's logger path
With 

```LOGGER='"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"';```

```if (not "%LOGGER%"==""```

evaluate to

```Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll""=="" was unexpected at this time```
2016-09-09 09:25:39 +02:00
Francis ANDRE
19f753f1c5 Merge remote-tracking branch 'pocoproject/develop' into develop 2016-09-08 11:57:29 +02:00
Guenter Obiltschnig
20c7392c21 giving up on strerror_r 2016-09-08 10:10:39 +02:00
Guenter Obiltschnig
28ff1f2530 fixed strerror_r issue 2016-09-08 09:36:28 +02:00
zosrothko
f62ee1466d Issue with gcc strerror_r in Net/Socket.cpp@151
All Travis jobs fail with
```src/Socket.cpp: In static member function ‘static int Poco::Net::Socket::select(Poco::Net::Socket::SocketList&, Poco::Net::Socket::SocketList&, Poco::Net::Socket::SocketList&, const Poco::Timespan&)’:
src/Socket.cpp:151:47: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
src/Socket.cpp:164:49: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
```
From man strerror_r

```
int strerror_r(int errnum, char *buf, size_t buflen);            /* XSI-compliant */
char *strerror_r(int errnum, char *buf, size_t bufle);            /* GNU-specific */

Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
The XSI-compliant version of strerror_r() is provided if:
(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
Otherwise, the GNU-specific version is provided. 
```
2016-09-07 21:27:19 +02:00
Günter Obiltschnig
47b4ef97db Merge pull request #1399 from CosminCremarenco-Murex/fix-starts-with-ends-with
Fix String.h startsWith/endsWith
2016-09-07 09:14:40 +02:00
CREMARENCO Cosmin
c0906ab5aa Fix failing testStartsWith: startsWith/endsWith will dereference invalid string iterator when the prefix/suffix is longer than the actual length of the string 2016-09-06 17:18:25 +02:00
Guenter Obiltschnig
d074e5e6ea fixed warnings with GCC on Linux 2016-09-06 16:30:59 +02:00
Guenter Obiltschnig
f602971b35 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2016-09-06 15:25:54 +02:00
Guenter Obiltschnig
60f5d630b3 fixed a unused warning 2016-09-06 15:25:41 +02:00
Günter Obiltschnig
f0a001c6c6 Merge pull request #1367 from Kampbell/buildwin-without-environment-variables
VS2013/VS2015: Buildwin without environment variables
2016-09-06 09:25:17 +02:00
Günter Obiltschnig
9126660a94 Merge pull request #1395 from pocoproject/revert-1060-json-wshadow-fixes
Revert "GH #1050 JSON: fix gcc -Wshadow warnings"
2016-09-05 08:37:53 +02:00
Günter Obiltschnig
ff2d8b65c7 Revert "GH #1050 JSON: fix gcc -Wshadow warnings" 2016-09-05 08:37:47 +02:00