4530 Commits

Author SHA1 Message Date
Bernhard Rieder
115edb9605 make RecordSet::reset(stmt) return a reference to itself 2017-07-12 11:10:17 +02:00
Alex Fabijanic
bc27086003 fix 32bit SQLite tests 2017-07-11 10:04:12 +02:00
Matt Tucker
4da941f869 TCPServerDispatcher: fix thread accounting leak (#1801)
* TCPServerDispatcher::run: catch errors in connection creation and handling to prevent threads from exiting without accounting for them
2017-07-10 22:37:11 +02:00
Alex Fabijanic
6c13f5d14c fix odbc build on linux 2017-07-06 19:50:15 +02:00
Alex Fabijanic
c271e49247 force mysql tcp connection; fix failing tests 2017-07-06 19:11:23 +02:00
Craig Scott
035177e1d2 Add POCO_VERBOSE_MESSAGES option (#1679)
Allows informational logging to be turned off. All find-related messages,
warnings, errors, etc. are still always logged. The option is ON by default
to preserve existing behaviour.
2017-07-06 15:56:39 +02:00
jnytra
f8bacb47b5 Fixed GH #1155: Select from MySQL table with longtext column causes SIGSEGV (#1164) 2017-07-06 00:44:21 +02:00
Thomas Köppe
15c076b3ea [CppUnit/RepeatedTest.h] Add missing return type (#1273) 2017-07-06 00:36:51 +02:00
Andreas Martin
af4f2df66b Fix misplaced RedisEventArgs.cpp/.h (#1509) 2017-07-06 00:23:25 +02:00
Stefan Weil
8ccee8928c Fix typos in comments, documentation and strings (#1615)
All of them were found using codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-07-06 00:17:38 +02:00
andred
a9598960e4 Error: simplify strerror_r() handling (#1647)
This is a simpler version of the existing strerror_r()
handling.

Idea borrowed from boost.asio:
  443bc17d13
2017-07-06 00:14:00 +02:00
Orlin Hristov
262079b0f0 Fix for issue #1043 (#1725)
* Fix for issue #1043

The fix for this issue was partially implemented in development branch.
However, there are still some issue, that were not covered:
1. The std::string overload will sets SQL_LONGVARCHAR as fSqlType if the
output parameter is of type VARCHAR(MAX)
2. The UTF16String overload of bind method:
a) always resolves fSqlType using the size of formal parameter const
std::string& val.
b) allocates half of the size of the SP's output parameter.
3. The _utf16Strings member is not sychronized in Binder::synchronize()
method.
4. The _utf16Strings member is not reset in Binder::reset() method.

* Fixed compiler error for GCC

Fixed compiler error caused by improper getting of UTF16String length in
Binder::synchronize()

* Fix input param initialization in unit test
2017-07-06 00:06:10 +02:00
OgreTransporter
3dfcc83257 Add workarround to handle static OpenSSL libs on Windows with CMake, fix NetSSL_Win samples and testsuite (#1733)
* Add workarround to handle static OpenSSL libs on Windows with CMake

* Fix NetSSL_Win samples and testsuite
2017-07-06 00:02:22 +02:00
zosrothko
62af826c88 When not defined, default VS150COMNTOOLS to C:\Program Files (#1787)
(x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\
See 
https://developercommunity.visualstudio.com/content/problem/13223/no-environmental-variable-vscomntools150.html
2017-07-05 23:58:19 +02:00
Alex Fabijanic
128c5c57eb rename 'separator' to 'frac'; develop: PostgreSQLTest: missing ExecUtil class #1788 2017-07-05 11:55:05 +02:00
Marian Krivoš
7f193697db Try to save the type for Var with Json serialize/deserialize (#1703)
* Fix JSON to Var parsing (save the type)

* fix formatting

* remove redundant include <iostream>

* fix c++98 compatibility
2017-07-03 23:33:32 +02:00
Alex Fabijanic
3ec9316ab0 localtime_r is not part of C++ #1746 2017-07-03 22:37:32 +02:00
Alex Fabijanic
72b826651f src/Var.cpp: 2 * sanity check in wrong place ? #1784 2017-07-03 21:03:50 +02:00
Alex Fabijanic
34826e3797 fix RowFilter refcount 2017-07-03 17:32:28 +02:00
Iskandar Safarov
d7d6b739a2 Exception in destructor (#1777)
* The destructor of BasicBufferedStreamBuf() calls Allocator::deallocate which can throw exceptions. In particular it throws Poco::SystemException when can't lock mutex.

* Added poco_unexpected(); into exception handler
2017-07-02 20:04:58 +02:00
Aleksandar Fabijanic
a33057d8fe Merge pull request #1778 from pocoproject/internal-ext-fix
ODBC RecordSet (internal extraction) broken #1775
2017-06-30 16:53:50 +02:00
Alex Fabijanic
5cad99a704 fix test table name 2017-06-30 16:51:07 +02:00
Alex Fabijanic
96bb22621e fix RowFilter refcounting, some cleanup 2017-06-30 16:13:56 +02:00
Alex Fabijanic
41e3f38c06 ODBC RecordSet (internal extraction) broken #1775; some style fixes 2017-06-29 23:49:42 +02:00
Alex Fabijanic
b3704e2275 add type diagnostics 2017-06-28 17:21:49 +02:00
Alex Fabijanic
12f61b8ccf Wrong limit check in Poco::Dynamic::Var #996 2017-06-27 18:33:48 +02:00
Alex Fabijanic
848d510fae simplify g++ check 2017-06-27 12:59:06 +02:00
Aleksandar Fabijanic
5d69bae19f Poco::Data::SQLite data types #703 (#1767) 2017-06-27 12:15:24 +02:00
Alex Fabijanic
4b4adb4459 fix clang warning 2017-06-27 11:58:50 +02:00
Alex Fabijanic
1f27dcf5c0 fix init order warning 2017-06-26 21:02:14 +02:00
Alex Fabijanic
303861cf11 replace Mutex with FastMutex 2017-06-22 23:09:22 +02:00
Alex Fabijanic
19417c57a9 add some comments 2017-06-22 22:46:19 +02:00
Alex Fabijanic
574fc131db add docker test run script 2017-06-22 22:43:07 +02:00
Alex Fabijanic
8aecf8a9b0 move mysql init to createSession() and protect it with mutex 2017-06-22 22:42:21 +02:00
Alex Fabijanic
2fd58d54bc Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2017-06-21 16:45:55 +02:00
Alex Fabijanic
18a5a380d2 additional tests for #1042 and #1642 2017-06-21 16:45:39 +02:00
Günter Obiltschnig
84f9bed805 fix for Windows 2017-06-21 16:29:11 +02:00
Guenter Obiltschnig
85879fb02d upgrade bundled expat to 2.2.1; apply POCO-specific changes 2017-06-21 16:28:51 +02:00
Alex Fabijanic
d866e7444d tests for #542 2017-06-21 14:56:33 +02:00
proller
6a49c94d18 Allow link application with double_conversion (#1560)
Without this linking fails with duplicate function names errors
2017-06-08 20:52:09 +02:00
Günter Obiltschnig
201e87900b Merge pull request #1689 from zosrothko/patch-1
Remove space around '=' in the generated config.make
2017-06-02 18:29:06 +02:00
Günter Obiltschnig
6467bc5aad Merge pull request #1690 from zosrothko/patch-2
Publish poco_trace & poco_debug macro even in release mode
2017-06-02 18:28:31 +02:00
Günter Obiltschnig
bcd148281f Merge pull request #1692 from Kampbell/honor-export-CXX-g++-4.8
Honor export cxx g++ 4.8
2017-06-02 18:27:40 +02:00
Günter Obiltschnig
ce5a0839eb Merge pull request #1713 from zosrothko/patch-5
Switch to MySql 5.7 on x86_64 arch
2017-06-02 18:25:59 +02:00
Günter Obiltschnig
973595e759 Merge pull request #1741 from wegylexy/patch-1
moved #endif to the correct place
2017-06-02 09:58:36 +02:00
TimTim
3c89b23109 moved #endif to the correct place 2017-06-01 17:47:32 +08:00
Aleksandar Fabijanic
076dd9679b Build parallelization issues #1730 2017-05-23 20:36:12 -05:00
zosrothko
3230f91175 Switch to MySql 5.7 on x86_64 arch 2017-05-07 11:56:18 +02:00
Aleksandar Fabijanic
9762dc26bb update CHANGELOG in dev #1698 2017-04-26 19:54:41 -05:00
zosrothko
ade93a30f8 Test the new distribution feature of Travis 2017-04-17 20:14:27 +02:00