Commit Graph

19 Commits

Author SHA1 Message Date
Chaitanya Dandugula
85eddf7402 Replaced the header tag
// Library: Data

with

// Library: SQL
2018-12-20 14:01:45 +05:30
Erbengi
759b4dd164 Merge bugfix #2546 from poco-1.9.1 (#2548)
* Merge bugfix #2546 from poco-1.9.1

* Fixed ODBC SessionImpl

* Fixed missing methods in PostresSQL and testsuit

* Fixed missing method in SQLite SessionImpl

* Use mysql_refresh() instead of mysql_reset_connection()

* Use mysql_reset_connection() if it is available

Use mysql_reset_connection() only if MySQL version is >= 5.7 or MariaDB
version is >= 3.0.0 otherwise fall back to myslq_refresh()
2018-11-27 08:29:40 -06:00
Günter Obiltschnig
7e83676cf9 fixed GH #2538: Poco::Data::Session::connector() returns empty string for MySQL session. 2018-11-11 20:51:55 +01:00
Joerg-Christian Boehme
a4a0052cc1 Merge cmake changes from poco-1.9.1 (#2505)
* Take changes from 1.9.1 for check cxxyy compiler support

* Get change from 1.9.1 branch. _DEBUG is set on Foundation library

* CMake improve find third-party libraries (#2478)

* Add additional settings for thirdparty paths and fix windows build

* Fix postgresql build on AppVeyor

* Add additional path for odbc windows kits

* Add test_compiler cpp

* Take changes from 1.9.1 for find MySQL modul

* Take changes from 1.9.1 for find ODBC modul

* Take changes from 1.9.1 for find PCRE modul

* Take changes from 1.9.1 for find PostgreSQL modul

* Take changes from 1.9.1 for find Apache2 modul

* Take cmake SQL changes from 1.9.1

* Take changes from 1.9.1 for MySQL cmake

* Take changes from 1.9.1 for ODBC cmake

* Take changes from 1.9.1 for PostgreSQL cmake

* Fix compile with c++11 standard

* Rename DISABLE_CPP14 to POCO_DISABLE_CPP14

* Fix cmake compile features

* Remove POCO_ENABLE_CPP11

* Enable compile 64bit in cmake for AppVeyor build

* Remove copy data directory for encoding test. It doesnt exists anymore

* Move __LCC__ define to MySQL
2018-10-18 07:11:38 +02:00
Lyashenko Arsenii Maksimovich
223ce277bd Fix "redeclared without dllimport attribute..." warning for MinGW (#2433)
* Fix "redeclared without dllimport attribute..." warning for MinGW

* Use 'POCO_COMPILER_MSVC' instead of '_MSC_VER'.

* Define 'POCO_COMPILER_MINGW' with 'POCO_COMPILER_GCC' too

* Define 'POCO_UNUSED' for Clang too
2018-09-17 20:36:21 +02:00
Lyashenko Arsenii Maksimovich
96753499cf MySQL support for MinGW (#2416)
* Add MySQL support for MinGW

* Add OpenSSL requirement for MySQL, if compiler is MinGW

* Use simpler logic
2018-08-16 08:07:04 -05:00
Yegor Yefremov
6b9054dfa2 cmake: create and install pkg-config files (#2224)
* cmake: create and install pkg-config files

Automatically create and install *.pc files for selected components.

PocoFoundation.pc
PocoNet.pc
PocoUtil.pc
etc.
2018-06-12 20:42:19 +02:00
Joerg-Christian Boehme
8a70ab8a1c Cleanup cmake build system (develop) to use transitive dependency management from cmake (#2322)
* Cleanup cmake Root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* set proper scope

* Switch off make based builds in travis and appveyor

* Fix build break, set C11 on c file

* Set from C11 to C99

* Fix NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Revert "Fix windows build"

This reverts commit 678d44216bd964f61655df809efbf63ddd8a7bfd.

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _AFXDLL as target compile definitions

* 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

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Fix broken merge

* Fix android foundation test

* Fix old redis build version

* Fix android fondation test

* Cleanup target link libraries.

* Update cmake documentation

* Some fixese in crypto and netssl for win and some cleanup an SQL

* Minor fix in root CMakeList.txt

* Squashed commit of the following:

commit df050b56b6d81eaf9bdb37bb016fe9a3554eba4f

    Fix build dependecies in cmake

* Squashed commit of the following:

commit f41ce2bb404e197ff04b1e64f7b66c9a2b1e03c8

    Fix PostgreSQL build

* Squashed commit of the following:

commit b7da0deed67ffff23a8b7a50d6deff1e022b2577

    Set db hostnames

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build

* Fix broken cppunit merge
2018-06-03 11:19:00 -05:00
Marian Krivoš
42ef846651 Fix Visual Studio warnings at level /W4 (#2312)
* SharePtr fix for gcc 7.2

* Fix for Poco issue #2285

* Add missing fail() to sqlite test

* Fix for testIllegalFilePath

* Update SQLiteTest.cpp

* fixexes for Visual Studio and /W4 switch

* Fixed warnings for Foundation module

* Fixed warnings for JSON module

* Fixed warnings for XML module

* Fixed warnings for NET module

* Fix unfixable warning in VarHolder.h

* Fix Typo:

* Fixes for Net

* Fixes for Crypto

* Fixes for NetSSL

* Fixes for Zip

* Fixes for PDF

* Fixes for SQLite

* Fixes for SQLite

* Fixes for SQL

* Fixes for MongoDB

* Fixes for Redis

* Fixes for CppParser

* Fixes for CppUnit

* Fixes for PageCompiler

* Fixes for PostgreSQL

* Fixes for MySQL

* Fixes for SevenZip

* Last Warnings

* Fixes for ODBC

* fix std::type_info include
2018-05-04 08:47:40 -06:00
zosrothko
b3d107de94 Replace assert by assertTrue (#2242)
* Update Nuget packaging

* Split a single Nuget package into 2: x86/x64 because its size is greater
than 250Mb, which is the upper limit of Bintray

* CppUnit/Test.h: Rename assert by assertTrue

* Restore poco_assert

* leave old assert for backward compatibility

* add undef

* remove whitespace

* Display PocoDic.ini

* Fix CppUnit includes path

* Delete TestCaller.h

* Create dependencies
2018-03-26 06:56:33 -06:00
Timothy Brackett
43cbd82b7f Fix #1241 Rename CMAKE Variables to allow grouping (#1437)
* Add macro to map ENABLE_* variables provided on CMake command-line to POCO_ENABLE_* variables.

* Properly map ENABLE_* values to POCO_ENABLE_* variables instead of assuming ON
2018-03-26 07:13:54 +02:00
Francis ANDRE
d3dbac877e Making each module a NuGet package does not work properly
when unloading modules with NuGet
2018-03-20 09:56:52 +01:00
Francis ANDRE
a285ef1c66 Package each module as a Nuget package. 2018-03-19 16:19:18 +01:00
Yegor Yefremov
742f4578fc cmake: use the standard CMake flag to drive the shared object build (#2057)
* cmake: use the standard CMake flag to drive the shared object build

* Add deprecated warning and build always shared test library
2018-03-12 20:15:24 +01:00
Joerg-Christian Boehme
a834aad0b1 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-03-05 22:02:40 +01:00
zosrothko
5fa3d6094e Backport of pocoproject/feature-gradle to pocoproject/develop (#2127)
* Backport of feature-gradle

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Replace '/' by '\' to comply with DOS path

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Cleanup

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Put environment setting at the Exec task.

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Use standard release

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Updated mkdoc configuration

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Remove lines guarded by POCO_ENABLE_CPP11

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Merge remote-tracking branch 'origin/develop' into develop

* Fix NuGet & Wix input dependencies file set.

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Remaining fixes for Data2SQL switch.

* Use $global:LastExitCode instead of a local LastExitCode
2018-02-09 08:05:15 -06:00
zosrothko
6fae95d324 data2sql: Remaining fixes for VisualStudio vcxproj files (#2128)
* Remaining Data2SQL fixes

* Restore PocoDoc

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
2018-02-02 08:14:39 -06:00
zosrothko
af4bc94777 Fix implied lib: PocoSQL... instead of PocoData... (#2116)
* Fix implied lib: PocoSQLODBC instead of PocoDataODBC

* Fix implied lib: PocoSQLMySQL instead of PocoDataMySQL
2018-01-26 17:18:41 -06:00
Aleksandar Fabijanic
b49ac67225 Data2sql (#2070)
* remove leftover progen files

* remove Data sources and turn headers into forwards

* add SQL files #2059

* Data2sql: adjust Travis, AppVeyor & Makefiles (#2069)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* fix header forwarding

* Data2sql: Fixes for complete Travis CI success (#2071)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Restore DataFormatException

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* construct RowFilter from RecordSet reference instead of pointer

* pass Container ref instead of ptr to Column

* elimitate g++ warnings

* SQL: remove raw pointers from interfaces #2094; add constness and move ops where appropriate

* tidy up Postgres

* ODBC fixes
2018-01-18 11:29:28 -06:00