Commit Graph

459 Commits

Author SHA1 Message Date
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
8859346898 fixed POCO_SQLITE_INV_ROW_CNT initialization 2014-12-18 12:14:09 +01:00
Aleksandar Fabijanic
86b81bfcbd GH #499: Poco::Data::Statement::execute returns wrong value when zero results (ODBC) 2014-12-17 23:36:26 -06:00
Guenter Obiltschnig
33998a2156 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-12-17 09:21:16 +01:00
Guenter Obiltschnig
c49a954a8d workaround for GH #578 2014-12-17 09:20:52 +01:00
Aleksandar Fabijanic
76573294e5 Fix for #641 MySQL - LONGBLOB problem on 64-bit systems 2014-12-16 19:24:33 -06:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Alex Fabijanic
ccf0e78b6a Data documentation sample code outdated #620 2014-11-24 19:37:16 -06:00
Alex Fabijanic
5830263700 added LineEndingConverter and WebNotifier to samples solutions 2014-11-20 21:33:01 -06:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Guenter Obiltschnig
b8503e82e0 upgraded bundled SQLite to 3.8.7.2, take care of SQLITE_BUSY_RECOVERY and SQLITE_BUSY_SNAPSHOT 2014-11-19 18:46:17 +01:00
Guenter Obiltschnig
e95b6dea87 upgraded bundled SQLite to 3.8.7.1;
fixed #590: Poco::Data::SQlite doesn't support URI filenames
2014-11-07 11:12:04 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Alex Fabijanic
63a9c7cd2a GH #512: Poco:Data:ODBC:Binder.h causes a crash 2014-10-10 21:12:44 -05:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
71511b1960 fix TypeHandler sample 2014-10-06 07:35:55 +02:00
Guenter Obiltschnig
edf4645cf9 upgraded SQLite to 3.8.6 2014-09-30 15:10:55 +02:00
Günter Obiltschnig
a2617235fe #538 more dtor fixes and some style fixes along the way 2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
d50e5fd2c7 fixed testRowFormat 2014-09-27 17:40:27 +02:00
Guenter Obiltschnig
2e657d2a61 add column spacing to SimpleRowFormatter, can be specified in ctor 2014-09-23 22:43:00 +02:00
Guenter Obiltschnig
d663a6b570 add column spacing to SimpleRowFormatter, can be specified in ctor 2014-09-23 22:32:00 +02:00
Guenter Obiltschnig
85fd968a1e #538 prevent destructors from throwing exceptions 2014-09-19 10:13:03 +02:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Günter Obiltschnig
e30ff7dd8c Merge pull request #517 from cristiantm/enh-sqlite-timeoutProperty
Adding timeout as property on SQLite
2014-09-17 19:44:46 +02:00
Matyas Dolak
d434d3cb12 Fixed ODBC WString size handling.
This fixes a bug where Poco would return a string 1 character shorter than is actually in the DB (when the string in the DB uses the full length of a CHAR(N) or VARCHAR(N) column).
2014-09-16 15:23:03 +02:00
Guenter Obiltschnig
67b206f663 removed unnecessary explicit in some multi-arg constructors 2014-09-10 16:44:36 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Christopher Baker
e469e4fc62 Fix static init exceptions for MinGW*. 2014-08-21 14:27:51 -05:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Cristian Thiago Moecke
48d387e33d Removing unecessary temporary variable 2014-08-05 11:25:54 -03:00
Cristian Thiago Moecke
40ce74141f Removing unecessary include 2014-08-04 17:16:04 -03:00
Cristian Thiago Moecke
0ba87ea2c2 Adding property to SQLite SessionImpl as solution for issue #248 2014-08-04 17:05:57 -03:00
Mattes Dolak
ae3cc71263 Fixed ODBC on Win64.
The SQLGetConnectAttr() function can write up to 64-bit integers, as documented by MSDN here: http://msdn.microsoft.com/en-us/library/ms710297%28v=vs.85%29.aspx
This fix uses 64-bit integers instead of 32-bit ones, the original code corrupted the stack when used on win7-x64 with MSSQL 2008.
2014-07-16 09:19:03 +02:00
Pascal Bach
0fd90ec722 cmake: Data cleanup
- explicitly list files
- use find_package for MySQL and ODBC
- remove unused code
- remove unnecessary include dirs
- support unbundled SQLite3
- replace tabs by spaces

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Alex Fabijanic
7a92e72bc8 Fix: HandleExeption assignment operator calls itself 2014-06-09 03:05:25 -05:00
Alex Fabijanic
c99c776aff Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-22 02:08:54 -05:00
Alex Fabijanic
5d5c75ac86 added more isEmpty() tests and fixed compile warnings 2014-05-22 02:08:46 -05:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Alex Fabijanic
9d47f3ced8 - added GH #445: Add flag to force POCO to preserve manually #defined target Windows versions
- fixed SQLite and MySQL broken builds
2014-05-21 04:47:24 -05:00
Alex Fabijanic
1aa28e1491 GH #290: Unicode support 2014-05-21 03:28:24 -05:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Alex Fabijanic
d3c8ec01f8 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-13 04:06:31 -05:00
Alex Fabijanic
609a35578c cleared some 64-bit warnings and test failures 2014-05-13 04:06:00 -05:00
Alex Fabijanic
0a61d7a2b9 GH #154 Add support for MYSQL_TYPE_NEWDECIMAL
GH #154 Add support for MYSQL_TYPE_NEWDECIMAL to Poco::Data::MySQL
2014-05-12 02:41:48 -05:00
Alex Fabijanic
e4484db61e Attempt to reproduce GH #261 (select into BLOB; the value of all BLOB records are same.) 2014-05-11 22:12:49 -05:00
Alex Fabijanic
74176f7c90 restore id and add tested DB version 2014-05-05 20:10:14 -05:00
Alex Fabijanic
ea56db0e55 restore SPDX license 2014-05-05 20:00:25 -05:00
Alex Fabijanic
3d36b0a8c5 mysql test db autocreate 2014-05-05 19:55:16 -05:00